Use compose.dev.yaml and compose.prod.yaml with fixed Go cache mounts, block sudo make dev, build Air outside app/tmp for rootless Docker, soften English spam checks, and simplify contact error copy. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
405 B
TOML
19 lines
405 B
TOML
root = "."
|
|
tmp_dir = "tmp"
|
|
|
|
[build]
|
|
cmd = "templ generate --notify-proxy && go build -o /tmp/website-dev-main ./cmd/server"
|
|
entrypoint = ["/tmp/website-dev-main"]
|
|
delay = 300
|
|
exclude_dir = ["tmp", "bin", "images", "vendor", "testdata"]
|
|
exclude_regex = ["_templ.go"]
|
|
include_ext = ["go", "css"]
|
|
send_interrupt = true
|
|
stop_on_error = true
|
|
|
|
[log]
|
|
time = true
|
|
|
|
[misc]
|
|
clean_on_exit = true
|