diff --git a/.fswatch.json b/.fswatch.json index f84e3035..81243ebc 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 }