Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
[dartdevc] clear console on hot restart
Browse files Browse the repository at this point in the history
Internal request b/147818704

Change-Id: I08c655c74ea10b6f14ffde8283cbfc286dfae41b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132180
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Gary Roumanis <grouma@google.com>
  • Loading branch information
vsmenon authored and commit-bot@chromium.org committed Jan 16, 2020
1 parent f1df196 commit 8a947de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/dev_compiler/lib/js/legacy/dart_library.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8a947de

Please sign in to comment.