update fswatch.json
parent
583f11f27c
commit
125c87a405
|
@ -1,14 +1,7 @@
|
||||||
{
|
{
|
||||||
"paths": ["."],
|
"paths": ["."],
|
||||||
"depth": 2,
|
"depth": 2,
|
||||||
"exclude": [
|
"exclude": [],
|
||||||
"^gogs$",
|
|
||||||
"~$",
|
|
||||||
"\\.swp$",
|
|
||||||
"\\.exe$",
|
|
||||||
"\\.swx$",
|
|
||||||
".*\\.log$"
|
|
||||||
],
|
|
||||||
"include": ["\\.go$"],
|
"include": ["\\.go$"],
|
||||||
"command": [
|
"command": [
|
||||||
"bash", "-c", "go build && ./gogs web"
|
"bash", "-c", "go build && ./gogs web"
|
||||||
|
@ -16,5 +9,5 @@
|
||||||
"env": {
|
"env": {
|
||||||
"POWERED_BY": "github.com/shxsun/fswatch"
|
"POWERED_BY": "github.com/shxsun/fswatch"
|
||||||
},
|
},
|
||||||
"enable-restart": false
|
"enable-restart": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue