Skip to content

ignore node_modules for webpack watch #462

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

Merged
merged 2 commits into from
Apr 16, 2025

Conversation

shekharnwagh
Copy link
Contributor

The command to start local server was failing with EMFILE errors. Ignoring node_modules and increasing the aggregateTimeout in watchOptions fixed the issue for now. The files in node_modules won't be changed during development without any dependencies changing, so it's safe to ignore them for watching.

The command to start local server was failing with EMFILE errors. Ignoring node_modules and increasing the aggregateTimeout in watchOptions fixed the issue for now. The files in node_modules won't be changed during development without any dependencies changing, so it's safe to ignore them for watching.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Copy link
Contributor

Test this PR in WordPress Playground.

@shekharnwagh shekharnwagh merged commit 2eeb905 into trunk Apr 16, 2025
13 checks passed
@shekharnwagh shekharnwagh deleted the ignore-node-modules-for-watch branch April 16, 2025 17:38
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