Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.94k stars 335 forks source link

[Feature Request] custom air.toml when using templ + HTMX #176

Closed baseba closed 10 months ago

baseba commented 10 months ago

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