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
Version: v10.7.0
Platform: Darwin x.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
Subsystem: process
I'm aware async iteration on streams is experimental, and perhaps I'm doing something wrong, but the following just returns without printing anything after you type the first new line (or the first character if you process.stdin.setRawMode(true)):
However it works correctly if you pipe something to the process. Also, it does work correctly if you use fs.createReadStream("/dev/stdin") instead of process.stdin:
The cause of this is most likely the same as in #20503 , although thanks for an interesting workaround by using /dev/stdin as I hit this issue recently.
Version:
v10.7.0
Platform:
Darwin x.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
Subsystem:
process
I'm aware async iteration on streams is experimental, and perhaps I'm doing something wrong, but the following just returns without printing anything after you type the first new line (or the first character if you
process.stdin.setRawMode(true)
):However it works correctly if you pipe something to the process. Also, it does work correctly if you use
fs.createReadStream("/dev/stdin")
instead ofprocess.stdin
:Besides this, async iteration of streams is great!
The text was updated successfully, but these errors were encountered: