summaryrefslogtreecommitdiffstats
path: root/.fswatch.json
diff options
context:
space:
mode:
Diffstat (limited to '.fswatch.json')
-rw-r--r--.fswatch.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/.fswatch.json b/.fswatch.json
new file mode 100644
index 0000000000..f84e30356c
--- /dev/null
+++ b/.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
+}