Make air compatible with templ

This commit is contained in:
Daniele Tonon
2024-01-08 21:23:42 +01:00
parent f1472b90a6
commit caa36cda00
2 changed files with 3 additions and 3 deletions

View File

@@ -9,12 +9,12 @@ tmp_dir = "tmp"
delay = 0
exclude_dir = ["tmp", "vendor", "testdata", "node_modules"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_regex = ["_templ.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html", "scss", "js", "xml", "png"]
include_ext = ["go", "templ", "scss", "js", "xml", "png"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"

View File

@@ -16,7 +16,7 @@ deploy: templ tailwind
ssh njump 'systemctl start njump'
debug-build: templ tailwind
go build -tags=nocache -o ./tmp/main .
go build -tags=nocache -o /tmp/njump .
templ:
templ generate