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:
parent
9c18c548bb
commit
50866c234c
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue