Core

/.air.conf (519 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
[build]
cmd = "make build"
bin = "build/debug/{{{ .Exec }}}{{{ .Args }}} {{{ .Key }}}"
include_ext = ["go", "html"{{{ if .HasModule "graphql" }}}, "graphql", "schema"{{{ end }}}, "md", "mod", "sql", "js", "css"]
exclude_dir = ["build", "client", "gen", "tools"{{{ .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"
send_interrupt = true

[log]
time = true