From 68aa11fa64dfd8b73dac5a1d531f66af5ed77bf5 Mon Sep 17 00:00:00 2001 From: dark Date: Sat, 14 Feb 2026 09:20:14 +0800 Subject: [PATCH] fix: separate Air binary path and args for Windows compatibility --- backend/.air.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/.air.toml b/backend/.air.toml index aa30718..478795f 100644 --- a/backend/.air.toml +++ b/backend/.air.toml @@ -3,7 +3,8 @@ tmp_dir = "tmp" [build] cmd = "go build -o ./tmp/base.exe base.go" - bin = "./tmp/base.exe -f etc/base-api.yaml" + bin = "./tmp/base.exe" + args_bin = ["-f", "etc/base-api.yaml"] include_ext = ["go", "yaml"] exclude_dir = ["tmp", "vendor", "tests"] delay = 1000