mirror of https://github.com/go-gitea/gitea
Reduce verbosity of dev commands (#24917)
### Before ``` $ make watch bash build/watch.sh make[1]: Entering directory '/Users/silverwind/git/gitea' make[1]: Entering directory '/Users/silverwind/git/gitea' GITEA_RUN_MODE=dev go run github.com/cosmtrek/air@v1.43.0 -c .air.toml rm -rf public/js public/css public/fonts public/img/webpack public/serviceworker.js NODE_ENV=development npx webpack --watch --progress ``` ### After ``` $ make watch GITEA_RUN_MODE=dev go run github.com/cosmtrek/air@v1.43.0 -c .air.toml NODE_ENV=development npx webpack --watch --progress ```pull/24841/head^2
parent
395bb33e4c
commit
1cf4d46bb1
@ -1,8 +1,8 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
set -euo pipefail |
set -euo pipefail |
||||||
|
|
||||||
make watch-frontend & |
make --no-print-directory watch-frontend & |
||||||
make watch-backend & |
make --no-print-directory watch-backend & |
||||||
|
|
||||||
trap 'kill $(jobs -p)' EXIT |
trap 'kill $(jobs -p)' EXIT |
||||||
wait |
wait |
||||||
|
Loading…
Reference in new issue