node-progress
node-progress copied to clipboard
it isn't work by using pm2
when using pm2 to start the app.js, it isn't show in pm2 logs.Only useing node command to start it can i see the progress bar.
+1
running the pm2 in the foreground with --no-daemon flag, logs the progressbar, but you get one line each tick()
Would be great to have pm2 support.
Same problem, please fix this 🙏
pm2 is intended to run as a background, so - maybe I am missing something here, please do kindly help me - why does one need a progress bar on a log file?
Anyway it seems the progress bar uses by default as strem the stderr
, check here.
Can you try using in options the standard output?
var bar = new ProgressBar(':bar', { total: 10, stream: process.stdout });
Or maybe check you pm2 error logs