We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--clear
1 parent 1cb014d commit f3a34c7Copy full SHA for f3a34c7
src/index.ts
@@ -103,6 +103,7 @@ export const runDev = (
103
*/
104
let compileReqWatcher: chokidar.FSWatcher
105
function start() {
106
+ if (cfg.clear) process.stdout.write('\u001bc')
107
for (const watched of (opts.watch || '').split(',')) {
108
if (watched) watcher.add(watched)
109
}
@@ -220,9 +221,7 @@ export const runDev = (
220
221
compiler.init()
222
223
compiler.clearErrorCompile()
-
224
- //if (cfg.clear) process.stdout.write("\u001b[2J\u001b[0;0H")
225
- if (cfg.clear) process.stdout.write('\u001bc')
+
226
if (isManualRestart === true) {
227
notify('Restarting', 'manual restart from user')
228
} else {
0 commit comments