Skip to content

Commit

Permalink
Fix make watch for generated files (go-gitea#20794)
Browse files Browse the repository at this point in the history
- Don't rebuild the binary when generated files are updated, which is the
case by-default when running `make watch`.
  • Loading branch information
Gusted authored and Sysoev, Vladimir committed Aug 28, 2022
1 parent d402af5 commit 7e6bf9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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$"]

0 comments on commit 7e6bf9c

Please sign in to comment.