Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: yarn build:dev don't clear terminal #5970

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading