chore: hotreloading on file change
This commit is contained in:
7
makefile
7
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:
|
||||
|
||||
Reference in New Issue
Block a user