hakobox/.air.toml
2025-04-21 17:59:57 -03:00

32 lines
737 B
TOML

root = "."
tmp_dir = "tmp"
[build]
bin = "./tmp/main"
cmd = "templ generate && tailwindcss -i views/static/css/input.css -o views/static/css/output.css && go build -v -o ./tmp/main ./server/server.go"
delay = 500
exclude_dir = ["assets", "tmp", "vendor", "data"]
exclude_file = []
exclude_regex = [".*_templ.go", "output.css"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "templ", "html", "css"]
# kill_delay = "0s"
log = "build-errors.log"
send_interrupt = false
stop_on_error = true
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
time = false
[misc]
clean_on_exit = false