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

serve command try to watch node_modules #31

Open
dekelyi opened this issue Mar 22, 2018 · 3 comments
Open

serve command try to watch node_modules #31

dekelyi opened this issue Mar 22, 2018 · 3 comments

Comments

@dekelyi
Copy link

dekelyi commented Mar 22, 2018

the serve command try to watch all the files in the serving directory, including the node_modules, what results in ENOSPC error on linux when trying to watch too many files.
Source for the bug: jestjs/jest#3254

exclude the node_modules directory when watching files.

@chikamichi
Copy link

Hi,

This is a problem indeed. It prevents from running docsify in many container-based platform, for instance.

@jonoirwinrsa
Copy link

seems like there is a small attempt to try and ignore those files:
https://github.com/docsifyjs/docsify-cli/blob/master/lib/commands/serve.js#L56

I am wondering where it is going wrong

@dekelyi
Copy link
Author

dekelyi commented May 30, 2019

I'm not sure how the API works, but maybe changing it to **/node_modules/ will work

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

No branches or pull requests

3 participants