MCPcopy Index your code
hub / github.com/coder/coder / warmup-storybook-cache.mjs

File warmup-storybook-cache.mjs

site/scripts/warmup-storybook-cache.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Warm vite's transform cache for storybook story files.
2// Only needed on cold cache (first run after pnpm install).
3import { createServer } from "vite";
4import { readdirSync } from "node:fs";

Callers

nothing calls this directly

Calls 6

createServerFunction · 0.85
filterMethod · 0.80
allMethod · 0.80
closeMethod · 0.65
StringFunction · 0.50
listenMethod · 0.45

Tested by

no test coverage detected