1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Updated console.log wording when the PageLoader is waiting for webpack to become idle. (#2835)

This commit is contained in:
Dustin Senos 2017-08-23 13:06:11 -07:00 committed by Tim Neutkens
parent 9c18c548bb
commit 50866c234c

View file

@ -99,10 +99,10 @@ export default class PageLoader {
}
}
// Wait for webpack to became idle if it's not.
// Wait for webpack to become idle if it's not.
// More info: https://github.com/zeit/next.js/pull/1511
if (webpackModule && webpackModule.hot && webpackModule.hot.status() !== 'idle') {
console.log(`Waiting webpack to became "idle" to initialize the page: "${route}"`)
console.log(`Waiting for webpack to become "idle" to initialize the page: "${route}"`)
const check = (status) => {
if (status === 'idle') {