Skip to content

Commit 593b1e4

Browse files
committed
wip: fix disconnect
1 parent a5898a6 commit 593b1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/server/environments/fullBundleEnvironment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class FullBundleDevEnvironment extends DevEnvironment {
109109
const clientId = this.clients.setupIfNeeded(client)
110110
this.devEngine.registerModules(clientId, payload.modules)
111111
})
112-
this.hot.on('vite:client-disconnect', (_payload, client) => {
112+
this.hot.on('vite:client:disconnect', (_payload, client) => {
113113
const clientId = this.clients.delete(client)
114114
if (clientId) {
115115
this.devEngine.removeClient(clientId)

0 commit comments

Comments
 (0)