air: don't rebuild on tmpl changes [skip ci]

This commit is contained in:
leo 2023-05-03 06:05:07 +02:00
parent 864e2ec815
commit 24b62dad98
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -7,7 +7,7 @@ tmp_dir = "tmp"
args_bin = ["-devel"]
cmd = "go mod tidy && go build -v -ldflags=\"-X main.version=$(git rev-parse --short HEAD)-air\" ."
delay = 0
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static"]
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static", "templates"]
exclude_file = []
exclude_regex = ["_test.go", "node_modules/*"]
exclude_unchanged = false