feat(dev): add air live-reload with make watch
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
root = "."
|
||||
tmp_dir = "tmp"
|
||||
|
||||
[build]
|
||||
bin = "./tmp/nib"
|
||||
cmd = "go build -o ./tmp/nib ."
|
||||
args_bin = ["serve"]
|
||||
delay = 500
|
||||
exclude_dir = ["tmp", "testdata", "docs"]
|
||||
exclude_regex = ["_test\\.go$"]
|
||||
include_ext = ["go", "html", "css", "js", "svg"]
|
||||
kill_delay = 500
|
||||
|
||||
[log]
|
||||
time = false
|
||||
|
||||
[misc]
|
||||
clean_on_exit = true
|
||||
Reference in New Issue
Block a user