41 lines
869 B
TOML
41 lines
869 B
TOML
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
|
|
|
|
# Working directory
|
|
root = "."
|
|
tmp_dir = "tmp"
|
|
|
|
[build]
|
|
# Just plain old shell command. You could use `make` as well.
|
|
args_bin = []
|
|
bin = "./bin/database-render"
|
|
cmd = "make build"
|
|
delay = 1000
|
|
exclude_dir = ["assets", "tmp", "vendor", "node_modules", "web/static", "dist"]
|
|
exclude_file = []
|
|
exclude_regex = ["_test.go"]
|
|
exclude_unchanged = false
|
|
follow_symlink = false
|
|
full_bin = ""
|
|
include_dir = []
|
|
include_ext = ["go", "tpl", "tmpl", "html", "yaml", "yml", "json"]
|
|
kill_delay = "0s"
|
|
log = "build-errors.log"
|
|
send_interrupt = false
|
|
stop_on_root = false
|
|
|
|
[color]
|
|
app = ""
|
|
build = "yellow"
|
|
main = "magenta"
|
|
runner = "green"
|
|
watcher = "cyan"
|
|
|
|
[log]
|
|
time = false
|
|
|
|
[misc]
|
|
clean_on_exit = false
|
|
|
|
[screen]
|
|
clear_on_rebuild = false
|
|
keep_scroll = true |