fix dev server/live reload
1 file changed, 4 insertions(+), 2 deletions(-)
changed files
M modd.conf → 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" }