about summary refs log tree commit diff stats
path: root/modd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modd.conf')
-rw-r--r--modd.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/modd.conf b/modd.conf
index 072956c..f956fea 100644
--- a/modd.conf
+++ b/modd.conf
@@ -1,3 +1,5 @@
-config.toml {
-    daemon: templ generate --watch --proxy "http://localhost:3000" --cmd "go run ./cmd/server --dev" --open-browser=false
+**/*.go !**/*_templ.go {
+  daemon +sigint: systemfd -s http::3000 -- \
+    templ generate --watch \
+      --cmd="go run ./cmd/server --dev"
 }