chore: update air script

This commit is contained in:
Steven 2023-07-14 20:42:00 +08:00
parent 85569c032a
commit 3d3f55a931

View File

@ -2,7 +2,7 @@ root = "."
tmp_dir = ".air" tmp_dir = ".air"
[build] [build]
bin = "./.air/slash" bin = "./.air/slash --mode dev"
cmd = "go build -o ./.air/slash ./cmd/slash/main.go" cmd = "go build -o ./.air/slash ./cmd/slash/main.go"
delay = 1000 delay = 1000
exclude_dir = [".air", "web", "build"] exclude_dir = [".air", "web", "build"]