MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / createRoutesHotReloadApp

Function createRoutesHotReloadApp

packages/node/src/dev/nodeAppHotReload.ts:24–30  ·  view source on GitHub ↗
(
  app: NodeAppHotReloadTargets<S>,
)

Source from the content-addressed store, hash-verified

22}
23
24function createRoutesHotReloadApp<S>(
25 app: NodeAppHotReloadTargets<S>,
26): Pick<App<S>, "replaceRoutes"> {
27 return {
28 replaceRoutes: app.replaceRoutes.bind(app),
29 };
30}
31
32export function createNodeAppHotReloadController<S>(
33 app: NodeAppHotReloadTargets<S>,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected