From d6566743a75be64bb6298f0f1d8eadaebbae634d Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Sun, 11 Oct 2026 08:49:31 +0200 Subject: [PATCH] fix: prevent air from deleting the whole tmp folder, used for visual diff task --- .air.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.air.toml b/.air.toml index 680c96d..e16f175 100644 --- a/.air.toml +++ b/.air.toml @@ -1,11 +1,11 @@ root = "." -tmp_dir = "tmp" +tmp_dir = "tmp/air" [build] - cmd = "go build -tags nofrontend -o ./tmp/renewcms ./cmd/server" - bin = "tmp/renewcms" + cmd = "go build -tags nofrontend -o ./tmp/air/renewcms ./cmd/server" + bin = "tmp/air/renewcms" delay = 500 - exclude_dir = ["tmp", "bin", "data", "web", "features", "docs", "internal/infrastructure/assets/dist", ".claude"] + exclude_dir = ["tmp", "tmp/air", "bin", "data", "web", "features", "docs", "internal/infrastructure/assets/dist", ".claude"] exclude_regex = ["_test.go"] include_ext = ["go", "html"] log = "build-errors.log"