air: update config [skip ci]
This commit is contained in:
parent
7d1c65e5a9
commit
e651235f90
10
.air.toml
10
.air.toml
|
@ -6,23 +6,23 @@ tmp_dir = "tmp"
|
||||||
bin = "./pcmt"
|
bin = "./pcmt"
|
||||||
args_bin = ["-devel"]
|
args_bin = ["-devel"]
|
||||||
cmd = "go mod tidy && go build -v -ldflags=\"-X main.version=$(git rev-parse --short HEAD)-air\" ."
|
cmd = "go mod tidy && go build -v -ldflags=\"-X main.version=$(git rev-parse --short HEAD)-air\" ."
|
||||||
delay = 0
|
delay = 700 # ms
|
||||||
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static", "templates"]
|
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "static", "templates"]
|
||||||
exclude_file = []
|
exclude_file = []
|
||||||
exclude_regex = ["_test.go", "node_modules/*"]
|
exclude_regex = ["_test.go", "node_modules/*"]
|
||||||
exclude_unchanged = false
|
exclude_unchanged = true
|
||||||
follow_symlink = false
|
follow_symlink = false
|
||||||
full_bin = ""
|
full_bin = ""
|
||||||
include_dir = []
|
include_dir = []
|
||||||
include_ext = ["go", "tmpl", "html", "dhall"]
|
include_ext = ["go", "tmpl", "html", "dhall"]
|
||||||
include_file = []
|
include_file = []
|
||||||
kill_delay = "0s"
|
kill_delay = 200
|
||||||
log = "build-errors.log"
|
log = "air.log"
|
||||||
poll = false
|
poll = false
|
||||||
poll_interval = 0
|
poll_interval = 0
|
||||||
rerun = false
|
rerun = false
|
||||||
rerun_delay = 500
|
rerun_delay = 500
|
||||||
send_interrupt = false
|
send_interrupt = true
|
||||||
stop_on_error = false
|
stop_on_error = false
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
|
|
Loading…
Reference in New Issue