# Air configuration for TankStopp # Live reload for Go applications with templ support root = "." testdata_dir = "testdata" tmp_dir = "tmp" [build] args_bin = [] bin = "./tmp/tankstopp" cmd = "make generate && go build -o ./tmp/tankstopp ./cmd/main.go" delay = 1000 exclude_dir = ["assets", "tmp", "vendor", "testdata", "node_modules", ".git", "scripts"] exclude_file = [] exclude_regex = ["_test.go", "_templ.go"] exclude_unchanged = false follow_symlink = false full_bin = "" include_dir = [] include_ext = ["go", "templ", "html", "css", "js"] include_file = [] kill_delay = "0s" log = "build-errors.log" poll = false poll_interval = 0 post_cmd = [] pre_cmd = ["make format"] rerun = false rerun_delay = 500 send_interrupt = false stop_on_root = false [color] app = "" build = "yellow" main = "magenta" runner = "green" watcher = "cyan" [log] main_only = false time = true [misc] clean_on_exit = true [screen] clear_on_rebuild = true keep_scroll = true