-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.air.toml
More file actions
31 lines (26 loc) · 750 Bytes
/
Copy path.air.toml
File metadata and controls
31 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
root = "."
tmp_dir = "_work/air"
[build]
cmd = "go run -mod=mod github.com/a-h/templ/cmd/templ generate -path internal/web/pages && CGO_ENABLED=0 go build -trimpath -o ./_work/air/sable ./cmd/sable"
entrypoint = ["./_work/air/sable", "serve", "--config", "sable.toml"]
include_ext = ["go", "templ", "css", "js"]
exclude_dir = ["_work", "bin", "data", "outputs", "work", ".git"]
exclude_file = ["mage_output_file.go"]
exclude_regex = ["_test\\.go$", "_templ\\.go$"]
exclude_unchanged = true
delay = 150
stop_on_error = true
send_interrupt = true
kill_delay = "2s"
[log]
time = false
[misc]
clean_on_exit = true
[screen]
clear_on_rebuild = false
keep_scroll = true
[proxy]
enabled = true
proxy_port = 5381
app_port = 5380
app_start_timeout = 5000