Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.23 KB

File metadata and controls

52 lines (32 loc) · 1.23 KB

@davstack/vitest-server

Long-lived Vitest daemon. Story/unit reruns drop from ~50s cold to ~3-15s warm.

Why

  • Warm-boot speed. Vite optimize + playwright launch + storybook preset only happen once; per-file reruns reuse the hot pool.
  • Agent-optimized CLI. Structured JSON + exit codes; fast loops, lean on tokens.

Install & setup (1 min)

Recommended: scaffold with davstack init

pnpx @davstack/init

(cd to your project repo first - vitest-server is scoped to codebase)

(more info: setup.md)

Usage Example

  1. Start server
davstack start

(more info: davstack tui)

  1. Rerun a file against the warm daemon
vitest-server run src/feat/chart-views/LineChart/LineChartView.stories.tsx

Result:

{"ok":false, "durationMs":3120, "file":"…/LineChartView.stories.tsx", "errors":[...]}

Exit 0 on pass / 1 on fail.

(more info: usage.md)

Docs