.air.toml (view raw)
1#:schema https://json.schemastore.org/any.json
2
3env_files = []
4root = "."
5testdata_dir = "testdata"
6tmp_dir = "tmp"
7
8[build]
9 args_bin = []
10 bin = "./tmp/main"
11 cmd = "go build -o ./tmp/main ."
12 delay = 1000
13 entrypoint = ["./tmp/main"]
14 exclude_dir = ["assets", "tmp", "vendor", "testdata"]
15 exclude_file = []
16 exclude_regex = ["_test.go"]
17 exclude_unchanged = false
18 follow_symlink = false
19 full_bin = ""
20 ignore_dangerous_root_dir = false
21 include_dir = []
22 include_ext = ["go", "tpl", "tmpl", "html", "css", "js"]
23 include_file = []
24 kill_delay = "0s"
25 log = "build-errors.log"
26 poll = false
27 poll_interval = 0
28 post_cmd = []
29 pre_cmd = []
30 rerun = false
31 rerun_delay = 500
32 send_interrupt = false
33 stop_on_error = false
34
35[color]
36 app = ""
37 build = "yellow"
38 main = "magenta"
39 runner = "green"
40 watcher = "cyan"
41
42[log]
43 main_only = false
44 silent = false
45 time = false
46
47[misc]
48 clean_on_exit = false
49
50[proxy]
51 app_port = 0
52 app_start_timeout = 0
53 enabled = false
54 proxy_port = 0
55
56[screen]
57 clear_on_rebuild = false
58 keep_scroll = true