grayside / grunt-staged

Run grunt tasks with only those source files staged for code commit.
MIT License
0 stars 0 forks source link

Streamline vcs calls #3

Open jgeurts opened 8 years ago

jgeurts commented 8 years ago

Previously, git was being called for each path comparison. This PR makes it so that git is only called once. It also removes the async calls in favor of a single lodash each statement.

jgeurts commented 8 years ago

In our project, with roughly 465 files being processed, we were getting Warning: spawn EMFILE Use --force to continue. errors. This PR is largely a result of fixing that error.