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

Function handler

packages/devtools-vite/src/plugin.ts:140–142  ·  view source on GitHub ↗
(code, id)

Source from the content-addressed store, hash-verified

138 server.httpServer?.on('close', teardownBridge)
139 }
140 }
141
142 server.middlewares.use((req, _res, next) => {
143 if (req.socket.localPort && req.socket.localPort !== port) {
144 port = req.socket.localPort
145 }

Callers 1

index.test.tsFile · 0.85

Calls 3

addSourceToJsxFunction · 0.90
enhanceConsoleLogFunction · 0.90
generateConsolePipeCodeFunction · 0.90

Tested by

no test coverage detected