diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-08-14 21:22:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-14 22:22:09 +0100 |
commit | 293544587ca946767a69a228dce46989b5dff5d1 (patch) | |
tree | 67d00eeb3de4161cce307ed627bf207f625758eb /.air.toml | |
parent | 4f56ab3bf3cb84dbaef3b196dd63a5e27a9b9899 (diff) | |
download | gitea-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.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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$"] |