summaryrefslogtreecommitdiffstats
path: root/.fswatch.json
diff options
context:
space:
mode:
Diffstat (limited to '.fswatch.json')
-rw-r--r--.fswatch.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/.fswatch.json b/.fswatch.json
new file mode 100644
index 0000000000..90a6e4eae7
--- /dev/null
+++ b/.fswatch.json
@@ -0,0 +1,13 @@
+{
+ "paths": ["."],
+ "depth": 2,
+ "exclude": [],
+ "include": ["\\.go$"],
+ "command": [
+ "bash", "-c", "go build && ./gogs web"
+ ],
+ "env": {
+ "POWERED_BY": "github.com/shxsun/fswatch"
+ },
+ "enable-restart": true
+}