We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nuxt
Learn more about funding links in repositories.
Report abuse
1 parent 6f77eae commit 6ec0eb8Copy full SHA for 6ec0eb8
src/utils/dev.ts
@@ -77,7 +77,7 @@ export async function startSocketServer(nuxt: Nuxt, options: ModuleOptions, mani
77
78
nuxt.hook('close', async () => {
79
// Close WebSocket server
80
- await websocket.close()
+ await websocket?.close()
81
await listener.server.close()
82
})
83
0 commit comments