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

feat(graph): use daemon file watcher instead of chokidar #13564

Merged
merged 1 commit into from Jan 11, 2023

Conversation

Phillip9587
Copy link
Contributor

Current Behavior

nx depends on chokidar to watch for file changes in the workspaceLayout directories.

Problems:

  • Extra dependency
  • Global config files are ignored

Expected Behavior

nx should not depend on chokidar and should use the daemon file watcher which internally uses @parcel/watcher.

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Dec 2, 2022

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

Name Status Preview Updated
nx-dev ✅ Ready (Inspect) Visit Preview Jan 9, 2023 at 4:43PM (UTC)

@Phillip9587
Copy link
Contributor Author

@Cammisuli Is there anything I can do to get this merged?

@Cammisuli
Copy link
Member

Not at the moment. I haven't taken a thorough look yet, so I don't have many updates for you :(

I have a feeling that things will be good, but I just want to double check things on my side :)

Copy link
Member

@Cammisuli Cammisuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Phillip9587!

@Cammisuli Cammisuli merged commit b4dbdf6 into nrwl:master Jan 11, 2023
@Phillip9587
Copy link
Contributor Author

@Cammisuli Thanks a lot for merging this. Do you think it is possible to convert the remaining usages of chokidar to the daemon file watcher?

@Cammisuli
Copy link
Member

Yea, it should be possible. You're more than welcomed to refactor those usages if you like 🙂

@github-actions
Copy link

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 Mar 13, 2023
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.

None yet

2 participants