diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-12-29 23:12:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-29 16:12:10 +0100 |
commit | 4fdd4fb2c4983ac7f58507b1fbf121f68c40407a (patch) | |
tree | 1b231b3afa2670046fe4ef6dd24745dc95895331 /CHANGELOG.md | |
parent | 900e1580648e153d40f9da005eb745705410ac73 (diff) | |
download | gitea-4fdd4fb2c4983ac7f58507b1fbf121f68c40407a.tar.gz gitea-4fdd4fb2c4983ac7f58507b1fbf121f68c40407a.zip |
Add more test directory to exclude dir of air, remove watching templates from air include dir because gitea has internal mechanism (#22246) (#22247)
backport #22246
Since #20218 introduced internal watching template, template watching
should be removed from `air`. This will prevent restart the whole server
once the template files changed to speed up developing when using `make
watch`.
To ensure `make watch` will reuse template watching, this PR introduced
a new ENV `GITEA_RUN_MODE` to make sure `make watch` will always run in
a dev mode of Gitea so that template watching will open.
This PR also added more exclude testdata directories.
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions