diff --git a/.fswatch.json b/.fswatch.json index f84e30356..81243ebc3 100644 --- a/.fswatch.json +++ b/.fswatch.json @@ -1,22 +1,20 @@ { - "paths": [ - "." - ], + "paths": ["."], "depth": 2, "exclude": [ - "^gogs$", + "^gogs$", "~$", "\\.swp$", "\\.exe$", - "\\.swx$", - ".*\\.log$" + "\\.swx$", + ".*\\.log$" ], - "include": [], + "include": ["\\.go$"], "command": [ "bash", "-c", "go build && ./gogs web" ], "env": { - "PROGRAM": "fswatch" + "POWERED_BY": "github.com/shxsun/fswatch" }, "enable-restart": false }