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