Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ debug
Method
debug
packages/vite/src/shared/hmr.ts:21–21 ·
view source on GitHub ↗
(...msg: unknown[])
Source
from the content-addressed store, hash-verified
19
export
interface
HMRLogger {
20
error(msg: string | Error): void
21
debug(...msg: unknown[]): void
22
}
23
24
export
class
HMRContext implements ViteHotContext {
Callers
14
client.ts
File · 0.65
handleMessage
Function · 0.65
removeOldEl
Function · 0.65
pingWorkerContentMain
Function · 0.65
createHMRHandlerForRunner
Function · 0.65
cachedModule
Method · 0.65
ensureBuiltins
Method · 0.65
getModuleInformation
Method · 0.65
directRequest
Method · 0.65
invalidate
Method · 0.65
fetchUpdate
Method · 0.65
debug
Method · 0.65
Implementers
3
BasicMinimalPluginContext
packages/vite/src/node/server/pluginCo
PluginContext
packages/vite/src/node/server/pluginCo
HMRMockLogger
playground/hmr-ssr/__tests__/hmr-ssr.s
Calls
no outgoing calls
Tested by
2
options
Function · 0.52
load
Function · 0.52