Skip to content
vxvx
GitHubBlueskydev.toRSS

Run only what a change reaches

--affected follows task edges from the change, and nothing else runs.

Only the tasks a change reaches through dependsOn run.

vx run test --affected runs the tasks a change since the base branch touches, and the tasks whose dependsOn reaches one of them. With no edge from the changed task to yours, yours does not run.

Pair it with the cache and most pull requests run a handful of tasks.

// try it

vx run test --affected
vx run test --affected=origin/main
Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.