March 25, 2014

Gulp spawn EMFILE error

for those who faced problem with gulp when watching a big number of files.

error might looks like this:

here is a solution for you, the reason that caused this problem is by default mac is using 256 as default number of opening files, so set the limit to a large number will fix this problem

on your terminal

anyway if you are not familiar with Gulp, check out this page: