-
Notifications
You must be signed in to change notification settings - Fork 10
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
EMFILE error when using fs.watch on many items #1
Comments
Please try increasing the file descriptor limit. What is the result of the following?
|
4864 |
Do you have more files than that number? How about try something like this?
|
I does not have so many file and i am still get this error
Error: watch ENFILE |
Hmm, it sounds tough. |
Is this related? |
Thats wired, my ulimit is 65536, i dont think this is related to this. I am sure more users will be come to this problem so if i find solution i will write this here. |
https://stackoverflow.com/a/32600959/353166 worked for me |
I am using your module and i am getting error because i have too many files to watch.
app.use(require('easy-livereload')({
watchDirs: [
path.join(__dirname, 'public')
],
checkFunc: function(file) {
return /.(css|js|jade)$/.test(file);
},
port: process.env.LIVERELOAD_PORT || 35729
}));
The text was updated successfully, but these errors were encountered: