diff options
author | Alan Pearce | 2024-06-19 13:50:37 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-19 14:10:44 +0200 |
commit | 45a2e290aa2bc59deb5971255accba517500cc25 (patch) | |
tree | 1d6fe7c96aab7e13faa2fdb5eea4416370a1423b /modd.conf | |
parent | 1f9f24e2cef08f40fe2597b3644d08b28e31d370 (diff) | |
download | website-45a2e290aa2bc59deb5971255accba517500cc25.tar.lz website-45a2e290aa2bc59deb5971255accba517500cc25.tar.zst website-45a2e290aa2bc59deb5971255accba517500cc25.zip |
fix dev server/live reload
Diffstat (limited to 'modd.conf')
-rw-r--r-- | modd.conf | 6 |
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" } |