chore: update air config
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 49s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 49s
This commit is contained in:
42
.air.toml
42
.air.toml
@@ -2,48 +2,14 @@ root = "."
|
|||||||
tmp_dir = "tmp"
|
tmp_dir = "tmp"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
args_bin = []
|
|
||||||
bin = "./tmp/main"
|
bin = "./tmp/main"
|
||||||
cmd = "templ generate && go build -o ./tmp/main ."
|
cmd = "templ generate && go build -o ./tmp/main ."
|
||||||
delay = 1000
|
|
||||||
exclude_dir = ["static", "migrations", "node_modules", "tmp"]
|
exclude_dir = ["static", "migrations", "node_modules", "tmp"]
|
||||||
exclude_file = []
|
|
||||||
exclude_regex = ["_test.go", "_templ.go"]
|
exclude_regex = ["_test.go", "_templ.go"]
|
||||||
exclude_unchanged = false
|
include_ext = ["go", "templ"]
|
||||||
follow_symlink = false
|
send_interrupt = true
|
||||||
include_dir = []
|
kill_delay = "5s"
|
||||||
include_ext = ["go", "templ", "html"]
|
|
||||||
include_file = []
|
|
||||||
kill_delay = "0s"
|
|
||||||
log = "build-errors.log"
|
|
||||||
poll = false
|
|
||||||
poll_interval = 0
|
|
||||||
post_cmd = []
|
|
||||||
pre_cmd = []
|
|
||||||
rerun = false
|
|
||||||
rerun_delay = 500
|
|
||||||
send_interrupt = false
|
|
||||||
stop_on_error = true
|
stop_on_error = true
|
||||||
|
|
||||||
[color]
|
|
||||||
app = ""
|
|
||||||
build = "yellow"
|
|
||||||
main = "magenta"
|
|
||||||
runner = "green"
|
|
||||||
watcher = "cyan"
|
|
||||||
|
|
||||||
[log]
|
|
||||||
main_only = false
|
|
||||||
time = false
|
|
||||||
|
|
||||||
[misc]
|
[misc]
|
||||||
clean_on_exit = false
|
clean_on_exit = true
|
||||||
|
|
||||||
[proxy]
|
|
||||||
app_port = 0
|
|
||||||
enabled = false
|
|
||||||
proxy_port = 0
|
|
||||||
|
|
||||||
[screen]
|
|
||||||
clear_on_rebuild = false
|
|
||||||
keep_scroll = true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user