From 8a4a7b4494791f3a43c4456fcf7937c121f456b5 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Sat, 11 May 2024 20:54:28 +0700 Subject: [PATCH] Exclude `./tools` dir from `air` watch dir This also remove non-existence `vendor` directory from air's excluded directories. --- .air.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.air.toml b/.air.toml index 4a34392..d9d02d6 100644 --- a/.air.toml +++ b/.air.toml @@ -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