Skip to content

Commit 7eb8803

Browse files
committed
fix: flush stdout/stderr after every write
1 parent 5db14e5 commit 7eb8803

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/vite_task/src/execute.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async fn collect_std_outputs(
7575
}
7676
let content = &buf[..n];
7777
parent_output_handle.write_all(content).await?;
78+
parent_output_handle.flush().await?;
7879
let mut outputs = outputs.lock().unwrap();
7980
if let Some(last) = outputs.last_mut()
8081
&& last.kind == kind

0 commit comments

Comments
 (0)