chore: 为 Admin 启动脚本增加热重载 (#13)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
root = "."
|
||||
tmp_dir = "tmp"
|
||||
|
||||
[build]
|
||||
cmd = "go build -o ./admin-dev.exe ."
|
||||
bin = "admin-dev.exe"
|
||||
include_ext = ["go", "html", "css", "js"]
|
||||
exclude_dir = ["data", "tmp", "testdata"]
|
||||
exclude_regex = ["_test\\.go"]
|
||||
exclude_unchanged = true
|
||||
delay = 500
|
||||
stop_on_error = true
|
||||
send_interrupt = false
|
||||
kill_delay = "500ms"
|
||||
|
||||
[log]
|
||||
time = true
|
||||
|
||||
[misc]
|
||||
clean_on_exit = true
|
||||
|
||||
[screen]
|
||||
clear_on_rebuild = false
|
||||
keep_scroll = true
|
||||
Reference in New Issue
Block a user