# .air.toml # Root directory of the project root = "." # Directory for temporary build artifacts tmp_dir = "tmp" [build] cmd = "go build -o tmp/main ." bin = "tmp/main" args_bin = ["-config", "config.yaml"] # Extensions to watch include_ext = ["go", "toml", "yaml", "yml"] # Ignore temp folders and irrelevant dirs exclude_dir = ["tmp", "vendor", ".git", "cmd", "proto"] exclude_regex = ["_test.go"] # Stop process on error and send interrupt for graceful shutdown stop_on_error = true send_interrupt = true kill_delay = 500 [log] time = true [color] main = "magenta" watcher = "cyan" build = "yellow" runner = "green" [misc] clean_on_exit = true