We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28ffa4b commit 89a2f56Copy full SHA for 89a2f56
lib/internal/main/watch_mode.js
@@ -113,7 +113,10 @@ function reportGracefulTermination() {
113
return () => {
114
clearTimeout(graceTimer);
115
if (reported) {
116
- process.stdout.write(`${clear}${green}Gracefully restarted ${kCommandStr}${white}\n`);
+ if (!kPreserveOutput) {
117
+ process.stdout.write(clear);
118
+ }
119
+ process.stdout.write(`${green}Gracefully restarted ${kCommandStr}${white}\n`);
120
}
121
};
122
0 commit comments