There was an error while loading. Please reload this page.
1 parent 5e84809 commit 8bcb633Copy full SHA for 8bcb633
build/setup-dev-server.js
@@ -7,10 +7,9 @@ const serverConfig = require('./webpack.server.config')
7
module.exports = function setupDevServer (app, cb) {
8
let bundle, clientManifest
9
let resolve
10
- let resolved = false
11
const readyPromise = new Promise(r => { resolve = r })
12
const ready = (...args) => {
13
- if (!resolved) resolve()
+ resolve()
14
cb(...args)
15
}
16
0 commit comments