From fafd7f76bfa0be7167878d0ac3b9e789ddaf3b41 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Wed, 5 Mar 2025 11:00:28 -0300 Subject: [PATCH] chore: hotreloading on file change --- makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 1842a37..73e9ff8 100644 --- a/makefile +++ b/makefile @@ -13,10 +13,13 @@ dev: --build.cmd "go build -o .tmp/bin/main ." \ --build.bin ".tmp/bin/main" \ --build.exclude_dir "node_modules" \ - --build.include_ext "go" \ + --build.include_ext "go,html" \ --build.stop_on_error "false" \ + --proxy.enabled true \ + --proxy.proxy_port $(PORT) \ + --proxy.app_port $$(($(PORT) + 1)) \ --misc.clean_on_exit true \ - -- -dev -port $(PORT) + -- -dev -port $$(($(PORT) + 1)) build: