diff --git a/cmd/template/framework/files/air.toml.tmpl b/cmd/template/framework/files/air.toml.tmpl index 271c01c22..f9786bb00 100644 --- a/cmd/template/framework/files/air.toml.tmpl +++ b/cmd/template/framework/files/air.toml.tmpl @@ -44,3 +44,10 @@ tmp_dir = "tmp" [screen] clear_on_rebuild = false keep_scroll = true +{{- if .AdvancedOptions.htmx}} + +[proxy] + proxy_port = 3000 + app_port = 8080 + enabled = true +{{- end}} diff --git a/docs/docs/creating-project/air.md b/docs/docs/creating-project/air.md index 7d0ea4f67..51051edfc 100644 --- a/docs/docs/creating-project/air.md +++ b/docs/docs/creating-project/air.md @@ -28,6 +28,7 @@ watching internal/server watching tests !exclude tmp building... +Proxy server listening on http://localhost:3000 make[1]: Entering directory '/home/ujstor/code/blueprint-version-test/ws-test4' Building... Processing path: /home/ujstor/code/blueprint-version-test/ws-test4