Only run tasks that changed
Juri Strumpflohner
Published
As your workspace grows, re-testing, re-building, and re-linting all projects becomes too slow. To address this, Nx comes with an “affected” command. Using this command, Nx
- determines the minimum set of projects that are affected by the change
- only runs tasks on those affected projects
This drastically improves the speed of your CI and reduces the amount of compute needed. In this video, we’re exploring how it works.