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 cfc48e5 commit a725a7aCopy full SHA for a725a7a
1 file changed
src/app.ts
@@ -31,7 +31,7 @@ export async function setupAppBridge (_options: any) {
31
nuxt.hook('builder:prepared', (builder) => {
32
nuxt.hook('build:done', () => {
33
for (const name of ['app', 'files', 'custom']) {
34
- builder.watchers[name].on('all', (event, path) => nuxt.callHook('builder:watch', event, path))
+ builder.watchers[name]?.on('all', (event, path) => nuxt.callHook('builder:watch', event, path))
35
}
36
})
37
nuxt.hook('builder:generateApp', () => builder.generateRoutesAndFiles())
0 commit comments