From 981f043b7f3429d083794b90411c463a0b9ed283 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 5 Nov 2025 17:34:51 +0000 Subject: [PATCH] Air: Don't rebuild for html, don't restart on error --- .air.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.air.toml b/.air.toml index d5bf4207..f37d7248 100644 --- a/.air.toml +++ b/.air.toml @@ -7,14 +7,14 @@ tmp_dir = "tmp" bin = "./tmp/nidus-sync" cmd = "go build -o ./tmp/nidus-sync ." delay = 1000 - exclude_dir = ["static", "tmp"] + exclude_dir = ["templates", "static", "tmp"] exclude_file = [] exclude_regex = ["_test.go"] exclude_unchanged = false follow_symlink = false full_bin = "" include_dir = [] - include_ext = ["go", "html"] + include_ext = ["go"] include_file = [] kill_delay = "0s" log = "build-errors.log" @@ -25,7 +25,7 @@ tmp_dir = "tmp" rerun = false rerun_delay = 500 send_interrupt = false - stop_on_error = false + stop_on_error = true [color] app = ""