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

Avoid triggering a watch on the addon root #120

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

dfreeman
Copy link
Contributor

@dfreeman dfreeman commented Mar 19, 2018

This will fix #106. The underlying cause looks to be nodejs/node#15683, so anyone on APFS who's not using watchman is likely to run into this.

The problem in our specific case is that we're triggering a watch on the root of the repo in question, which means it includes all of tmp and node_modules, both of which are potentially pretty big.

@pzuraq I know you're on your way out, but if you have a chance to take a peek, I'll cut a bugfix release if the changes look good to you.

@pzuraq
Copy link
Contributor

pzuraq commented Mar 19, 2018

Oh hey that makes a lot of sense! This looks good, lets merge and get it out there 😄

@dfreeman
Copy link
Contributor Author

👍 I'll let CI do its thing and then get this out

@dfreeman dfreeman merged commit ffb5e8c into master Mar 20, 2018
@dfreeman dfreeman deleted the avoid-emfile-watch-error branch March 20, 2018 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fresh clone + install + ember serve fails.
2 participants