chore: 为 Admin 启动脚本增加热重载 (#13)

This commit is contained in:
chengma
2026-08-06 17:34:56 +08:00
parent 5a5c1f1f68
commit 7a6c647eda
4 changed files with 95 additions and 2 deletions
+24
View File
@@ -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