diff --git a/.gitignore b/.gitignore index 5cbf0b14d4..85bceb664e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ tmp *.log jest.debug.config.js .tool-versions +/.nx-cache /.verdaccio/build/local-registry -dep-graph/client/src/assets/environment.js \ No newline at end of file +dep-graph/client/src/assets/environment.js diff --git a/packages/workspace/src/core/project-graph/daemon/server/project-graph-incremental-recomputation.ts b/packages/workspace/src/core/project-graph/daemon/server/project-graph-incremental-recomputation.ts index 3247b748b6..8361d70540 100644 --- a/packages/workspace/src/core/project-graph/daemon/server/project-graph-incremental-recomputation.ts +++ b/packages/workspace/src/core/project-graph/daemon/server/project-graph-incremental-recomputation.ts @@ -129,7 +129,8 @@ async function processCollectedUpdatedAndDeletedFiles() { collectedDeletedFiles.clear(); } catch (e) { // this is expected - // for instance, workspace.json can be incorrect etc + // for instance, workspace.json can be incorrect or a file we are trying to has + // has been deleted // we are resetting internal state to start from scratch next time a file changes // given the user the opportunity to fix the error // if Nx requests the project graph prior to the error being fixed,