-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Feature Request: Allow turning off watch() for files inside node_modules #2179
Comments
I've tried solving this problem with adding |
The feature seems to be added in #2631 |
I think #2631 does not resolve this issue. #2631 is to exlude some dirs/files from visiting (=processing) only. To prohibit Hexo from watching dirs/files, The calling chain is:
So, to resolve this issue, set the A patch (under development) for this issue was: I will continue to update this patch. |
Environment Info
Hexo version 3.2.2
Plugin version(
npm ls --depth 0
)Feature Request
Allow turning off watch() for files inside node_modules
Use Case
Right now it's easy to get too many open files error. The main reason is node_modules often contributes a lot of files. While understanding sometimes this is useful when updating code, this is generally unnecessary. Users should be allowed to filter out certain directories to be watched.
The text was updated successfully, but these errors were encountered: