-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.air.toml
More file actions
47 lines (41 loc) · 1.11 KB
/
.air.toml
File metadata and controls
47 lines (41 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#:schema https://json.schemastore.org/any.json
# Air配置文件 - Go热重载工具
# 更多配置选项: https://github.com/cosmtrek/air
root = "."
tmp_dir = "tmp"
[build]
# 监听前端和后端文件变化
include_ext = ["go", "tpl", "tmpl", "html", "ts", "tsx", "js", "jsx", "css", "scss"]
exclude_ext = ["txt", "md", "yaml", "yml"]
include_dir = []
exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", "dist", "tests", "e2e_test_env", "e2e_testdata", "scripts"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
args_bin = ["start", "--no-daemon", "--no-open"]
bin = "./tmp/main"
cmd = "pnpm run build && go build -o ./tmp/main ."
delay = 1000
stop_on_root = true
send_interrupt = true
kill_delay = "1s"
rerun = false
rerun_delay = 500
build_tags = ""
build_args = ""
[log]
time = false
main_only = false
[color]
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
clean_on_exit = true
clear_on_rebuild = false
[screen]
clear_on_rebuild = false
keep_scroll = true