# .air.toml root = "." # 项目根目录(D:\aigc\manta\gofaster\backend) tmp_dir = "tmp" # 临时文件目录 [build] cmd = "go build -o ./tmp/main.exe ./cmd/server" # 添加 .exe bin = "tmp/main.exe" # 添加 .exe include_ext = ["go", "tpl", "tmpl", "html"] exclude_dir = ["assets", "tmp", "vendor", "docs"] # 建议添加docs目录 [log] time = true # 显示时间戳 # 可选:自定义重启信号(Windows可能需要) [signal] kill_signal = "SIGINT"