Use graceful-fs in place of fs

Change generate-requires.js to use the graceful-fs module instead of fs. This is to avoid EMFILE errors on OSX because the maximum number of file descriptors have been reached.
This commit is contained in:
Éric Lemoine
2015-04-29 13:27:25 +02:00
parent 5ea80f5feb
commit 6a16920378

View File

@@ -1,4 +1,4 @@
var fs = require('fs');
var fs = require('graceful-fs');
// The number of files that we need to generate goog.require's for.
var numFiles = process.argv.length - 1;