@@ -0,0 +1,11 @@
# .air.toml
# 工作目录
root = "."
tmp_dir = "tmp"
# 需要监控的文件类型
[watch]
extensions = ["go", "tpl", "html", "js"]
# 编译输出的二进制文件路径
[build]
bin = "../builds/app.exe"
cmd = "go build -o ../builds/app.exe ./cmd/main/main.go"
The note is not visible to the blocked user.