25 lines
615 B
TOML
25 lines
615 B
TOML
|
root = "."
|
||
|
tmp_dir = "tmp"
|
||
|
|
||
|
[build]
|
||
|
exclude_dir = ["node_modules","build","test-results","tests","playwright-report","tmp"]
|
||
|
exclude_regex = ["_templ\\.go","_test\\.go"]
|
||
|
|
||
|
pre_cmd = ["rm -rf web/assets/dist/js", "templ generate", "go run -tags dev *.go generate assets", "bun run tailwindcss -i ./web/assets/css/styles.css -o ./web/assets/dist/css/styles.css"]
|
||
|
cmd = "go build -tags dev -o tmp/omnibill_dev *.go"
|
||
|
bin = "tmp/omnibill_dev"
|
||
|
args_bin = ["run"]
|
||
|
|
||
|
log = "air.log"
|
||
|
delay = 1000 # ms
|
||
|
stop_on_error = true
|
||
|
send_interrupt = false
|
||
|
kill_delay = 500 # ms
|
||
|
|
||
|
|
||
|
[misc]
|
||
|
clean_on_exit = true
|
||
|
|
||
|
[screen]
|
||
|
keep_scroll = true
|