This repository has been archived on 2025-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web-app-template/.air.toml
Tim Wundenberg 25e82be339
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 48s
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 51s
chore: update air config
2024-09-29 23:11:57 +02:00

16 lines
348 B
TOML

root = "."
tmp_dir = "tmp"
[build]
bin = "./tmp/main"
cmd = "templ generate && go build -o ./tmp/main ."
exclude_dir = ["static", "migrations", "node_modules", "tmp"]
exclude_regex = ["_test.go", "_templ.go"]
include_ext = ["go", "templ"]
send_interrupt = true
kill_delay = "5s"
stop_on_error = true
[misc]
clean_on_exit = true