Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it isn't work by using pm2 #176

Open
codejc opened this issue May 20, 2018 · 5 comments
Open

it isn't work by using pm2 #176

codejc opened this issue May 20, 2018 · 5 comments

Comments

@codejc
Copy link

codejc commented May 20, 2018

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.

@namezero
Copy link

namezero commented Jun 4, 2018

+1

@namezero
Copy link

namezero commented Jun 4, 2018

running the pm2 in the foreground with --no-daemon flag, logs the progressbar, but you get one line each tick()

@joshhopkins
Copy link

Would be great to have pm2 support.

@Androz2091
Copy link

Same problem, please fix this 🙏

@jfoclpf
Copy link

jfoclpf commented Aug 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants