Skip to content

Include a tip for require.context and watching #2245

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 4 commits into from
Jun 10, 2018
Merged

Include a tip for require.context and watching #2245

merged 4 commits into from
Jun 10, 2018

Conversation

spicalous
Copy link
Contributor

Came across issues with webpack rebuilding project multiple times. I'd like to improve documentation for watching as it is not mentioned anywhere that using require.context can watch an entire directory

Thank you!

```

T> If you use `require.context`, webpack will watch your entire directory. You will need to ignore files and/or directories so that unwanted changes will not trigger a rebuild
Copy link
Member

Choose a reason for hiding this comment

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

Please add a dot at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Amended

@montogeek montogeek merged commit 4bdd31b into webpack:master Jun 10, 2018
@montogeek
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants