Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ on
Method
on
packages/vite/types/hot.d.ts:27–27 ·
view source on GitHub ↗
( event: T, cb: (payload: InferCustomEventPayload<T>) => void, )
Source
from the content-addressed store, hash-verified
25
invalidate(message?: string): void
26
27
on<T extends CustomEventName>(
28
event: T,
29
cb: (payload: InferCustomEventPayload<T>) => void,
30
): void
Callers
15
vite.js
File · 0.65
untilBrowserLog
Function · 0.65
vitestSetup.ts
File · 0.65
notifyRebuildComplete
Function · 0.65
collectStreams
Function · 0.65
startedOnPort
Function · 0.65
cli.spec.ts
File · 0.65
configureServer
Function · 0.65
hmr.ts
File · 0.65
configureServer
Function · 0.65
untilConsoleLog
Function · 0.65
configureServer
Function · 0.65
Implementers
1
HMRContext
packages/vite/src/shared/hmr.ts
Calls
no outgoing calls
Tested by
8
collectStreams
Function · 0.52
startedOnPort
Function · 0.52
configureServer
Function · 0.52
untilConsoleLog
Function · 0.52
sendRawRequest
Function · 0.52
fetchModuleViaWebSocket
Function · 0.52
collectStreams
Function · 0.52
startedOnPort
Function · 0.52