MCPcopy
hub / github.com/vitejs/vite / rerun

Function rerun

packages/vite/src/node/optimizer/optimizer.ts:536–544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

534 }
535
536 function rerun() {
537 // debounce time to wait for new missing deps finished, issue a new
538 // optimization of deps (both old and newly found) once the previous
539 // optimizeDeps processing is finished
540 const deps = Object.keys(metadata.discovered)
541 const depsString = depsLogString(deps)
542 debug?.(colors.green(`new dependencies found: ${depsString}`))
543 runOptimizer()
544 }
545
546 function getDiscoveredBrowserHash(
547 hash: string,

Callers

nothing calls this directly

Calls 2

depsLogStringFunction · 0.90
runOptimizerFunction · 0.85

Tested by

no test coverage detected