From 2e20fd13c09c06cd694802a5a125f07a99ba5690 Mon Sep 17 00:00:00 2001
From: Dan Abramov <dan.abramov@gmail.com>
Date: Thu, 28 Jul 2016 15:14:47 +0100
Subject: [PATCH] Use a more solid way to reset the console

This seems to work best, both on Windows, OS X, and Linux
---
 scripts/start.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/start.js b/scripts/start.js
index 290e8bc9b..15243229d 100644
--- a/scripts/start.js
+++ b/scripts/start.js
@@ -66,7 +66,7 @@ function formatMessage(message) {
 }
 
 function clearConsole() {
-  process.stdout.write('\x1B[2J\x1B[0f');
+  process.stdout.write('\x1bc');
 }
 
 function setupCompiler(port) {
-- 
GitLab