Closed baseba closed 10 months ago
the air.toml file that comes out of the box should have
include_ext = ["go", "tpl", "tmpl", "html", "templ"]
and
cmd = "templ generate | go build -o ./tmp/main ./cmd/api" (idk if this is the ideal way but something in this way)
cmd = "templ generate | go build -o ./tmp/main ./cmd/api"
out of the box in order to have a working live reload.
Tell us about your feature request
the air.toml file that comes out of the box should have
include_ext = ["go", "tpl", "tmpl", "html", "templ"]
and
cmd = "templ generate | go build -o ./tmp/main ./cmd/api"
(idk if this is the ideal way but something in this way)out of the box in order to have a working live reload.
Disclaimer