Categories
Android Update Internet Latest news Technology Reviews

nx: Configure Nx Cache to Ignore Changes to Specified Files

By default, Nx considers all the files in the project as inputs to the cache, so any changes will invalidate it. But, that might not be the behavior we want. Especially if we are just doing something like updating a README.

To selectively ignore certain files, we can specify an inputs field where we are configuring the custom output. There, we can use a glob pattern to define the files you’d like to ignore.