You are diagnosing why npm run rayfin:dev (which runs rayfin dev) is extremely slow on this Windows machine. On another machine, the following two fixes brought startup from ~150s down to ~4s:
- Windows Defender path exclusions — Defender real-time scanning of thousands of
.jsfiles in node_modules causes 100+ second delays on cold starts - Rayfin telemetry opt-out —
RAYFIN_TELEMETRY_OPTOUT=1as a persistent user env var, which prevents loading ~12,000 OpenTelemetry dependency files
Run the following in PowerShell and share the full output:
