log / setup air config for templ
To be able air to work with templ, we need change some configuration in .air.toml
# ...
# add templ generate
cmd = "templ generate && go build -o ./tmp/main ."
# ...
# add templ generated file in exclude regex
exclude_regex = [".*_templ.go"]
# ...
# add file with extension .templ to watched
include_ext = ["go", "tpl", "tmpl", "templ", "html"]