Skip to content

Commit

Permalink
chore: yarn build:dev don't clear terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Apr 24, 2024
1 parent 1908139 commit 0851e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/watch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
"$@"
Expand All @@ -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
}
Expand Down

0 comments on commit 0851e6a

Please sign in to comment.