Skip to content

Commit 166e460

Browse files
committed
added hot reload proxy for htmx
1 parent dcbcc00 commit 166e460

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmd/template/framework/files/air.toml.tmpl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,10 @@ tmp_dir = "tmp"
4444
[screen]
4545
clear_on_rebuild = false
4646
keep_scroll = true
47+
{{- if .AdvancedOptions.htmx}}
48+
49+
[proxy]
50+
proxy_port = 3000
51+
app_port = 8080
52+
enabled = true
53+
{{- end}}

0 commit comments

Comments
 (0)