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

Don't watch node_modules #225

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Don't watch node_modules #225

merged 1 commit into from
Apr 21, 2020

Conversation

rachel-fenichel
Copy link
Collaborator

Reduce CPU and memory usage.

Context: https://webpack.js.org/configuration/watch/#watchoptionsignored

More context: the reason live reloading was failing for me was not enough watchers: https://webpack.js.org/configuration/watch/#not-enough-watchers

I fixed it by increasing my max watchers, but while digging found that we were watching node_modules and don't need to.

Reduce CPU and memory usage.

Context: https://webpack.js.org/configuration/watch/#watchoptionsignored

More context: the reason live reloading was failing for me was not enough watchers: https://webpack.js.org/configuration/watch/#not-enough-watchers

I fixed it by increasing my max watchers, but while digging found that we were watching node_modules and don't need to.
@rachel-fenichel rachel-fenichel merged commit 975eb2b into master Apr 21, 2020
@rachel-fenichel rachel-fenichel deleted the rachel-fenichel-patch-1 branch April 21, 2020 02:49
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.

2 participants