From fc5fd2edd9b8282497e33a18300eab694d8a89c6 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