diff --git a/.air.toml b/.air.toml index 85e2ea5..87aff9f 100644 --- a/.air.toml +++ b/.air.toml @@ -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" diff --git a/justfile b/justfile index 4ee888c..d377c06 100644 --- a/justfile +++ b/justfile @@ -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