From fbc890a466d4f0d9c8fe74cee490cdde388c1e59 Mon Sep 17 00:00:00 2001 From: Anton Korzunov Date: Sat, 2 Nov 2019 18:07:54 +1100 Subject: [PATCH] fix: use logger.warn instead of console to report tail update, fixes #1386 --- src/hot.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hot.dev.js b/src/hot.dev.js index 016b0f9fe..20aee2162 100644 --- a/src/hot.dev.js +++ b/src/hot.dev.js @@ -66,7 +66,7 @@ const makeHotExport = (sourceModule, moduleId) => { // we know that some components were updated, but not tracking which ones // even if their updates might be incorporated automatically (like lazy) // we dont know which one should be tracked, and which updates are important - console.warn( + logger.warn( 'React-Hot-Loader: some components were updated out-of-bound. Updating your app to reconcile the changes.', ); deepUpdate();