diff --git a/pkg/dev_compiler/lib/js/legacy/dart_library.js b/pkg/dev_compiler/lib/js/legacy/dart_library.js index 8fb0faba76975..82670a903011c 100644 --- a/pkg/dev_compiler/lib/js/legacy/dart_library.js +++ b/pkg/dev_compiler/lib/js/legacy/dart_library.js @@ -246,6 +246,7 @@ if (!dart_library) { /// Once the `onReloadStart()` completes, this finishes the restart. function finishHotRestart() { + window.console.clear(); if (clearState) { // This resets all initialized fields and clears type caches and other // temporary data structures used by the compiler/SDK.