The Wayback Machine - https://web.archive.org/web/20210807164546/https://github.com/go-gitea/gitea/pull/12330
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

@silverwind silverwind commented 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: #12318

@silverwind
Copy link
Member Author

@silverwind 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.

@silverwind silverwind force-pushed the silverwind:watch-backend branch from a6fb72d to ce9e9a8 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: #12318
@silverwind silverwind force-pushed the silverwind:watch-backend branch from ce9e9a8 to d77ef00 Jul 26, 2020
@lunny
lunny approved these changes Jul 27, 2020
@techknowlogick
Copy link
Member

@techknowlogick techknowlogick commented Jul 27, 2020

🚀

@techknowlogick techknowlogick merged commit e67c042 into go-gitea:master Jul 27, 2020
2 checks passed
2 checks passed
approvals/lgtm this commit looks good
continuous-integration/drone/pr Build is passing
Details
@techknowlogick techknowlogick added this to the 1.13.0 milestone Jul 27, 2020
successgo added a commit to successopen/gitea that referenced this pull request Aug 20, 2020
* Add 'watch-backend'

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

* rework docs to a new section for continuous build

Co-authored-by: techknowlogick <[email protected]>
@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.
Linked issues

Successfully merging this pull request may close these issues.

4 participants