You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add 'make watch'
This combines frontend and backend watch into a single command that runs
them in parallel on on SIGINT terminates both.
Termination is not super-clean but I guess it does not have to.
* move to tools/, trap more signals, remove gnu-specific flag
* simplify
Co-authored-by: techknowlogick <[email protected]>
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/hacking-on-gitea.en-us.md
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -94,14 +94,10 @@ See `make help` for all available `make` targets. Also see [`.drone.yml`](https:
94
94
95
95
## Building continuously
96
96
97
-
Both the `frontend`and `backend` targets can be ran continuously when source files change:
97
+
To run and continously rebuild when source files change:
98
98
99
99
````bash
100
-
# in your first terminal
101
-
make watch-backend
102
-
103
-
# in your second terminal
104
-
make watch-frontend
100
+
make watch
105
101
````
106
102
107
103
On macOS, watching all backend source files may hit the default open files limit which can be increased via `ulimit -n 12288` for the current shell or in your shell startup file for all future shells.
0 commit comments