Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'watch-backend' #12330

Merged
merged 4 commits into from
Jul 27, 2020
Merged

Add 'watch-backend' #12330

merged 4 commits into from
Jul 27, 2020

Conversation

silverwind
Copy link
Member

This leverages air to watch the backend files and trigger make backend automatically when they change. It seems to work rather well together with watch-frontend.

Fixes: #12318

@silverwind
Copy link
Member Author

silverwind commented Jul 26, 2020

bin = "gitea" will probably not work on Windows and I think we may need a separate config file for Windows. Edit: Actually, it may work, maybe a Windows user can confirm.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 26, 2020
This leverages `air` to watch the backend files and trigger `make
backend` automatically when they change. It seems to work rather well
together with `watch-frontend`.

Fixes: go-gitea#12318
@lunny lunny added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Jul 27, 2020
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 27, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 27, 2020
@techknowlogick
Copy link
Member

🚀

@techknowlogick techknowlogick merged commit e67c042 into go-gitea:master Jul 27, 2020
@techknowlogick techknowlogick added this to the 1.13.0 milestone Jul 27, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

smart way to debug
4 participants