From a1dfc548198a1326e71f1dd70303a5d3441f7a39 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Jun 2024 13:02:08 +0200 Subject: refactor: switch to templ for HTML templates --- modd.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modd.conf') diff --git a/modd.conf b/modd.conf index 8fced57..ab01682 100644 --- a/modd.conf +++ b/modd.conf @@ -1,3 +1,4 @@ -**/*.go config.toml { - daemon: wgo run -exit ./cmd/searchix-web --live --config config.toml +**/*.go !**/*_templ.go config.toml { + daemon +sigint: templ generate --watch --proxy="http://localhost:3000" --open-browser=false \ + --cmd="go run ./cmd/searchix-web --live --config config.toml" } -- cgit 1.4.1