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
node-progress TTY detection as an awesome feature, but sometimes terminal connection is lost due to stdio piping.
Here is a very simple example:
node ./simple.js 2>&1 | cat
There is no way to check in simple.js that the end of srderr pipe is connected to some terminal, we only know that srderr stream is piped somewhere. But as a user I know it'll end up in a terminal and still want to see a progress bar.