Skip to content

Commit

Permalink
Fix make watch for generated files (#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 Aug 14, 2022
1 parent 4f56ab3 commit 2935445
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 2935445

Please sign in to comment.