MCPcopy Create free account
hub / github.com/TanStack/devtools / handleHotUpdate

Function handleHotUpdate

packages/devtools-vite/src/plugin.ts:546–554  ·  view source on GitHub ↗
({ file })

Source from the content-addressed store, hash-verified

544 viteServerUrl,
545 )
546
547 return `${inlineCode}\n${code}`
548 }
549
550 return undefined
551 },
552 },
553 },
554 {
555 name: '@tanstack/devtools:inject-plugin',
556 apply(config, { command }) {
557 return config.mode === 'development' && command === 'serve'

Callers

nothing calls this directly

Calls 3

readPackageJsonFunction · 0.90
emitOutdatedDepsFunction · 0.90
emitMethod · 0.45

Tested by

no test coverage detected