Skip to content

Commit b807aa1

Browse files
authored
(fix) only clear screen in watch mode
1 parent 726e797 commit b807aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-check/src/writers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class HumanFriendlyWriter implements Writer {
2828
) {}
2929

3030
start(workspaceDir: string) {
31-
if (process.stdout.isTTY) {
31+
if (process.stdout.isTTY && this.isWatchMode) {
3232
// Clear screen
3333
const blank = '\n'.repeat(process.stdout.rows);
3434
this.stream.write(blank);

0 commit comments

Comments
 (0)