summaryrefslogtreecommitdiffstats
path: root/.air.toml
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-08-14 21:22:09 +0000
committerGitHub <noreply@github.com>2022-08-14 22:22:09 +0100
commit293544587ca946767a69a228dce46989b5dff5d1 (patch)
tree67d00eeb3de4161cce307ed627bf207f625758eb /.air.toml
parent4f56ab3bf3cb84dbaef3b196dd63a5e27a9b9899 (diff)
downloadgitea-293544587ca946767a69a228dce46989b5dff5d1.tar.gz
gitea-293544587ca946767a69a228dce46989b5dff5d1.zip
Fix `make watch` for generated files (#20794)
- Don't rebuild the binary when generated files are updated, which is the case by-default when running `make watch`.
Diffstat (limited to '.air.toml')
-rw-r--r--.air.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.air.toml b/.air.toml
index 4b3297fc1a..0610088303 100644
--- a/.air.toml
+++ b/.air.toml
@@ -7,4 +7,4 @@ bin = "gitea"
include_ext = ["go", "tmpl"]
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
-exclude_regex = ["_test.go$"]
+exclude_regex = ["_test.go$", "_gen.go$"]