# air开发时热更新重启项目 https://github.com/cosmtrek/air root = "." testdata_dir = "testdata" tmp_dir = "tmp" [build] bin = "./tmp/main" cmd = "go build -o ./tmp/main ." delay = 500 exclude_dir = ["assets", "tmp", "vendor", "testdata"] exclude_file = [] exclude_regex = ["_test.go"] exclude_unchanged = false follow_symlink = false full_bin = "" include_dir = [] include_ext = ["go", "tpl", "tmpl", "html"] kill_delay = 200 log = "build-errors.log" send_interrupt = true stop_on_error = true [color] app = "" build = "yellow" main = "magenta" runner = "green" watcher = "cyan" [log] time = true [misc] clean_on_exit = false [screen] clear_on_rebuild = false