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

Added EMFILE error resolution to README #398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

granteagon
Copy link

A similar issue cropped up over at ember-cli, and reminded me of an issue with grunt-contrib-watch and too many open files. Lots of people are saying this solved the for them and it seems like a better solution than increasing ulimit or altering launchctl, so I wanted to share with grunt people.

A [similar issue](ember-cli/ember-cli#2226 (comment)) cropped up over at ember-cli, and reminded me of an issue with grunt-contrib-watch and too many open files.  Lots of people are saying this solved the for them and it seems like a better solution than increasing ulimit or altering launchctl, so I wanted to share with grunt people.
@@ -440,6 +440,11 @@ This is because of your system's max opened file limit. For OSX the default is v

In some versions of OSX the above solution doesn't work. In that case try `launchctl limit maxfiles 10480 10480 ` and restart your terminal. See [here](http://superuser.com/questions/261023/how-to-change-default-ulimit-values-in-mac-os-x-10-6).

If you are using the Sublime Text editor, make sure you are ignoring files sublime shouldn't need to care about by adding something like the following to your User Settings JSON file:
```
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "tmp/*"]
Copy link
Member

Choose a reason for hiding this comment

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

Should include node_modules and bower_components.

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