From c13dd065e9bb4e8ebe5af850f0c16aff9be8fbcd Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 23 Apr 2024 11:44:29 +0000 Subject: [PATCH] chore: yarn build:dev don't clear terminal --- yarn-project/watch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn-project/watch.sh b/yarn-project/watch.sh index 88cf51e6b60..d52f682f692 100755 --- a/yarn-project/watch.sh +++ b/yarn-project/watch.sh @@ -13,7 +13,7 @@ debounce() { local run_id=$(uuidgen) echo "$run_id" > ".debounce-$group_id" ( - sleep $DEBOUNCE_DURATION; + sleep $DEBOUNCE_DURATION; local current_id=$(cat ".debounce-$group_id"); if [ "$run_id" = "${current_id}" ]; then "$@" @@ -24,7 +24,7 @@ debounce() { # Start typescript watch process in the background and store process ID in a file start_tsc_watch() { local tsc_bin=$(yarn bin tsc) - $tsc_bin -b tsconfig.json --watch & + $tsc_bin -b tsconfig.json --watch --preserveWatchOutput & TSC_PID=$! echo "$TSC_PID" > .tsc.pid }