gogs/.fswatch.json

21 lines
369 B
JSON
Raw Normal View History

2014-04-06 11:12:19 -04:00
{
2014-04-06 12:19:59 -04:00
"paths": ["."],
2014-04-06 11:12:19 -04:00
"depth": 2,
"exclude": [
2014-04-06 12:19:59 -04:00
"^gogs$",
2014-04-06 11:12:19 -04:00
"~$",
"\\.swp$",
"\\.exe$",
2014-04-06 12:19:59 -04:00
"\\.swx$",
".*\\.log$"
2014-04-06 11:12:19 -04:00
],
2014-04-06 12:19:59 -04:00
"include": ["\\.go$"],
2014-04-06 11:12:19 -04:00
"command": [
"bash", "-c", "go build && ./gogs web"
],
"env": {
2014-04-06 12:19:59 -04:00
"POWERED_BY": "github.com/shxsun/fswatch"
2014-04-06 11:12:19 -04:00
},
"enable-restart": false
}