Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): handle events that do not have paths #22947

Merged
merged 1 commit into from Apr 23, 2024

Conversation

Cammisuli
Copy link
Member

Current Behavior

In some scenarios, when we get a watch event, there are no paths associated it with it. We assumed that all file watch events would have a path associated it with so we used expect.

Expected Behavior

We handle cases where file watch events may not have paths associated with it, and do not crash the Nx process.

Related Issue(s)

Fixes #21492

@Cammisuli Cammisuli requested review from a team as code owners April 22, 2024 20:38
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 8:40pm

@Cammisuli Cammisuli enabled auto-merge (squash) April 22, 2024 20:48
@Cammisuli Cammisuli merged commit 3d9bd16 into nrwl:master Apr 23, 2024
6 checks passed
@Cammisuli Cammisuli deleted the handle_events_without_paths branch April 23, 2024 03:06
AgentEnder pushed a commit to AgentEnder/nx that referenced this pull request Apr 23, 2024
FrozenPandaz pushed a commit that referenced this pull request Apr 25, 2024
Copy link

github-actions bot commented May 1, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NX daemon file watcher crashes when running pnpm (8.15.0) install
2 participants