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.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/modd.conf b/modd.conf
index 1c46a59..0c73ea6 100644
--- a/modd.conf
+++ b/modd.conf
@@ -1,3 +1,4 @@
-config.toml cmd/server/* "internal/**" {
-    daemon: go run ./cmd/server --dev
+**/*.go !**/*_templ.go {
+  daemon +sigint: templ generate --watch \
+      --cmd="go run ./cmd/server --dev"
 }