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
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.
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
@@ -97,14 +97,10 @@ See `make help` for all available `make` targets. Also see [`.drone.yml`](https:
97
97
98
98
## Building continuously
99
99
100
-
Both the `frontend`and `backend` targets can be ran continuously when source files change:
100
+
To run and continously rebuild when source files change:
101
101
102
102
````bash
103
-
# in your first terminal
104
-
make watch-backend
105
-
106
-
# in your second terminal
107
-
make watch-frontend
103
+
make watch
108
104
````
109
105
110
106
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