summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-24 22:11:04 +0200
committerGitHub <noreply@github.com>2023-05-24 20:11:04 +0000
commit1cf4d46bb194f236b3e0157bc2ec2583014cfa2e (patch)
tree2bfb946e6860771db32464888b984fa248187be6 /build
parent395bb33e4c9712e570f597c3ca24a4c3c6acdaff (diff)
downloadgitea-1cf4d46bb194f236b3e0157bc2ec2583014cfa2e.tar.gz
gitea-1cf4d46bb194f236b3e0157bc2ec2583014cfa2e.zip
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 ```
Diffstat (limited to 'build')
-rw-r--r--build/watch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/watch.sh b/build/watch.sh
index 61e3dc40a2..5e8defa49c 100644
--- a/build/watch.sh
+++ b/build/watch.sh
@@ -1,8 +1,8 @@
#!/bin/bash
set -euo pipefail
-make watch-frontend &
-make watch-backend &
+make --no-print-directory watch-frontend &
+make --no-print-directory watch-backend &
trap 'kill $(jobs -p)' EXIT
wait