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
545 if (isRootEntry) {
546 const viteServerUrl = `http://localhost:${port}`
547 const inlineCode = generateConsolePipeCode(
548 consolePipingLevels,
549 viteServerUrl,
550 )
551
552 return `${inlineCode}\n${code}`
553 }
554
555 return undefined
556 },
557 },

Callers

nothing calls this directly

Calls 3

readPackageJsonFunction · 0.90
emitOutdatedDepsFunction · 0.90
emitMethod · 0.45

Tested by

no test coverage detected