webpack/core — pull request #7 by diurnalist (2014-08-20 09:44:31+00:00)
Title: Handle EMFILE errors when requiring modules

It is possible (at least on node 0.10.28) to get EMFILE errors thrown on webpack compilation. The errors originate inside of a `require` call.

Although one alternate solution is to increase the OS file limit, I don't believe that is a burden that should be pushed to the developer. On large projects, it is quite easy to hit the default OSX file descriptor limit.