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 e0299ca commit 0e5a0a5Copy full SHA for 0e5a0a5
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