Test your worktree changes in the repo root without rebuilding your whole setup.
Useful when your first build is slow, your dev environment depends on a shared Docker or database setup, or you just don't want to spin up another full environment.
npm install -g spotlight-testingRequires Node.js 22+ and macOS.
Start from inside a linked worktree:
spotlight-testingPass the repo root explicitly if needed:
spotlight-testing on --target ../my-repoStop and restore:
spotlight-testing offCheck status:
spotlight-testing statusEdits go in the worktree, testing happens in the repo root. When you stop, the repo root goes back to how it was before.