Local Development
For local work, use Vizzly TDD mode.
It compares screenshots against local baselines in .vizzly/, gives you a live dashboard while you iterate, and leaves behind local context that scripts and agents can read.
The two local workflows
Keep a server running
npx vizzly tdd start --opennpm test -- --watchThis is the best fit for active UI work.
Run once and get a report
npx vizzly tdd run "npm test"This is better for quick checks, pre-commit validation, or one-off review.
Local files
TDD mode writes local state under .vizzly/, including:
- baselines
- current screenshots
- diffs
- report data
That local workspace can also be queried through vizzly context ... --source local.
npx vizzly context build current --source local --jsonnpx vizzly context screenshot Dashboard --source local --jsonUse this output when a script or agent needs the current local screenshots, baselines, and diffs. Use screenshot context to follow one screenshot name through local runs.
When to use cloud baselines
If you want to compare local work against a known remote build, start TDD mode with:
npx vizzly tdd start --baseline-build <build-id>That downloads baselines first, then compares locally.
Use this when you want local speed but still want the expected UI to come from a reviewed cloud build.