Core

/.air.conf (671 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[build]
cmd = "make build"
bin = "build/debug/{{{ .Exec }}}"
args_bin = [{{{ .ArgsQuoted }}}]
include_ext = ["go", "html"{{{ if .HasModule "graphql" }}}, "graphql", "schema"{{{ end }}}, "md", "mod", "sql", "js", "css"]
exclude_dir = ["build", "client", "gen"{{{ if .HasModule "notebook" }}}, "notebook"{{{ end }}}, "tools"{{{ if .HasModule "playwright" }}}, "test/playwright"{{{ end }}}{{{ .IgnoredQuoted }}}]
exclude_regex = ["\\.html\\.go$"{{{ if .HasModule "database" }}}, "\\.sql\\.go$"{{{ end }}}, "_test\\.go$"]
exclude_unchanged = true
delay = 200 # ms
stop_on_error = true
log = "{{{ .Exec }}}_errors.log"
log_time = true
send_interrupt = true

[log]
time = true