Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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).
3
import
{ createServer } from
"vite"
;
4
import
{ readdirSync } from
"node:fs"
;
Callers
nothing calls this directly
Calls
6
createServer
Function · 0.85
filter
Method · 0.80
all
Method · 0.80
close
Method · 0.65
String
Function · 0.50
listen
Method · 0.45
Tested by
no test coverage detected