Files
pwa-homelab-mon/.air.toml
T

22 lines
645 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
root = "."
tmp_dir = "tmp"
[build]
# отдельный бинарь, чтобы не путать с make server (bin/hub-api)
cmd = "go build -o ./bin/hub-api-dev ./server"
bin = "./bin/hub-api-dev"
include_ext = ["go"]
exclude_dir = ["web", "dist", "gen", "bin", "tmp", "proto", "docs"]
# порт берётся из env PORT самим сервером: PORT=8081 air
delay = 500
# упавший билд НЕ убивает air: стейдж продолжает отдавать последний рабочий бинарь
stop_on_error = false
send_interrupt = true
kill_delay = "2s"
[log]
time = true
[misc]
clean_on_exit = true