Exclude ./tools dir from air watch dir

This also remove non-existence `vendor` directory from air's excluded
directories.
This commit is contained in:
ditatompel 2024-05-11 20:54:28 +07:00
parent efca11e51c
commit 8a4a7b4494
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -7,7 +7,7 @@ tmp_dir = "tmp"
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
delay = 0
exclude_dir = ["assets", "tmp", "vendor", "testdata", "frontend/node_modules", "data", "bin"]
exclude_dir = ["assets", "tmp", "testdata", "frontend/node_modules", "data", "bin", "tools"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false