Skip to content

Commit 7e6bf9c

Browse files
GustedSysoev, Vladimir
Gusted
authored and
Sysoev, Vladimir
committed
Fix make watch for generated files (go-gitea#20794)
- Don't rebuild the binary when generated files are updated, which is the case by-default when running `make watch`.
1 parent d402af5 commit 7e6bf9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.air.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ bin = "gitea"
77
include_ext = ["go", "tmpl"]
88
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
99
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
10-
exclude_regex = ["_test.go$"]
10+
exclude_regex = ["_test.go$", "_gen.go$"]

0 commit comments

Comments
 (0)