react-native/packager/react-packager
Amjad Masad 7362f11c22 [react-packager] Use gracful-fs to avoid EMFILE errors
Summary:
@public
Currently, every time we call into the packager we have to change the ulimit to make sure
we don't hit the EMFILE error (the packager uses as much concurrency as possible).

Using graceful-fs, the fs module -- with monkey patching -- becomes intelligent enough to recover
from EMFILE errors.

Test Plan:
* set `ulimit -n 256*
* start server
* request from your browser: http://localhost:8081/RKJSModules/MainBundle/CatalystBundle.includeRequire.bundle
* it works
2015-05-05 14:30:43 -08:00
..
__mocks__ [react-packager] Switch from Q to Bluebird as promises library 2015-03-31 21:24:13 -08:00
example_project [ReactNative] Expanded license on js packager files 2015-03-23 11:28:51 -08:00
src [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
.npmignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
index.js [react-packager] Use gracful-fs to avoid EMFILE errors 2015-05-05 14:30:43 -08:00