We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5085bd7 commit 3314bc9Copy full SHA for 3314bc9
packages/webpack/src/webpack.ts
@@ -190,7 +190,7 @@ async function compile (compiler: Compiler) {
190
const compilersWatching: Array<Watching | MultiWatching> = []
191
192
nuxt.hook('close', async () => {
193
- await Promise.all(compilersWatching.map(watching => pify(watching.close.bind(watching))()))
+ await Promise.all(compilersWatching.map(watching => watching && pify(watching.close.bind(watching))()))
194
})
195
196
// Client build
0 commit comments