You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that graceful-fs was removed because of monkeypatching (#71).
But since v4 graceful-fs this has been fixed:
Do not monkey-patch the fs module. This module may now be used as a drop-in dep, and users can opt into monkey-patching the fs builtin if their app requires it.
Why do I need graceful-fs?
I'm developing the tartifacts package. It uses glob-stream to find files by patters.
if run tartifacts for project with a large number of files, then glob fails (yandex/tartifacts#58):
Error: ENFILE: file table overflow, open
To fix this I have to do strange things using proxyquire:
Hi!
I know that
graceful-fs
was removed because of monkeypatching (#71).But since v4
graceful-fs
this has been fixed:Why do I need
graceful-fs
?I'm developing the tartifacts package. It uses glob-stream to find files by patters.
if run
tartifacts
for project with a large number of files, thenglob
fails (yandex/tartifacts#58):To fix this I have to do strange things using
proxyquire
:Why not call
gracefulFs.gracefulify()
in project?In most cases, we can do that:
But
tartifacts
runglob-stream
in different processes (yandex/tartifacts#40).Alternatives
if there is another reason for which
glob
can't usegraceful-fs
need to be able changefs
with options (#280).The text was updated successfully, but these errors were encountered: