fix: prevent air from deleting the whole tmp folder, used for visual diff task
This commit is contained in:
1 parent
10ec74c8cf
commit
d6566743a7
1 file changed
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
root = "."
|
root = "."
|
||||||
tmp_dir = "tmp"
|
tmp_dir = "tmp/air"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
cmd = "go build -tags nofrontend -o ./tmp/renewcms ./cmd/server"
|
cmd = "go build -tags nofrontend -o ./tmp/air/renewcms ./cmd/server"
|
||||||
bin = "tmp/renewcms"
|
bin = "tmp/air/renewcms"
|
||||||
delay = 500
|
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"]
|
exclude_regex = ["_test.go"]
|
||||||
include_ext = ["go", "html"]
|
include_ext = ["go", "html"]
|
||||||
log = "build-errors.log"
|
log = "build-errors.log"
|
||||||
|
|||||||
Reference in new issue
Block a user