Commit 2e20fd13 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Use a more solid way to reset the console

This seems to work best, both on Windows, OS X, and Linux
parent d071aa01
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -66,7 +66,7 @@ function formatMessage(message) { ...@@ -66,7 +66,7 @@ function formatMessage(message) {
} }
function clearConsole() { function clearConsole() {
process.stdout.write('\x1B[2J\x1B[0f'); process.stdout.write('\x1bc');
} }
function setupCompiler(port) { function setupCompiler(port) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment