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
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
which is 100% more lines of code. I find that rather objectionable.
Options:
Stream.prototype.pipe should call this.resume() after setting up the destination. This would be the fix for other streams exhibiting the same problem, but would have much further reaching side effects. I'm very wary about doing this for 0.8, but it could be explored for 0.9.
process.stdin.pipe should call this.resume() after applying Stream.prototype.pipe. This would be the surgical fix, but is perhaps still too hazardous to do now for 0.8 without exploring edge cases.
It would be nice if this:
were equivalent to
cat. However, since stdin starts out in a paused state, this does nothing, and you have to do:which is 100% more lines of code. I find that rather objectionable.
Options:
Stream.prototype.pipeshould callthis.resume()after setting up the destination. This would be the fix for other streams exhibiting the same problem, but would have much further reaching side effects. I'm very wary about doing this for 0.8, but it could be explored for 0.9.process.stdin.pipeshould callthis.resume()after applyingStream.prototype.pipe. This would be the surgical fix, but is perhaps still too hazardous to do now for 0.8 without exploring edge cases.