Browse Source

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`.
tags/v1.18.0-rc0
Gusted 1 year ago
parent
commit
293544587c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .air.toml

+ 1
- 1
.air.toml View File

@@ -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$"]

Loading…
Cancel
Save