add fswatch.json for hot compile

tokarchuk/v1.17
skyblue 11 years ago
parent 1336d8d54d
commit a04918e36d
  1. 22
      .fswatch.json

@ -0,0 +1,22 @@
{
"paths": [
"."
],
"depth": 2,
"exclude": [
"^gogs$",
"~$",
"\\.swp$",
"\\.exe$",
"\\.swx$",
".*\\.log$"
],
"include": [],
"command": [
"bash", "-c", "go build && ./gogs web"
],
"env": {
"PROGRAM": "fswatch"
},
"enable-restart": false
}
Loading…
Cancel
Save