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

Progress bar doesn't render in sync function with renderThrottle: 0 #153

Open
MikeDevice opened this issue Jun 10, 2017 · 2 comments
Open

Comments

@MikeDevice
Copy link

Here is code

var ProgressBar = require('progress');

var bar = new ProgressBar(':bar', {
  total: 10,
  renderThrottle: 0
});

for (var i = 0; i < 10; i++) {
  for (var j = 0; j < 1e9; j++) {}
  bar.tick();
  bar.render(); // if comment this line, progress will not be render
}
@larshp
Copy link
Contributor

larshp commented Jun 11, 2017

I think the latest fix is not released to npm yet

f37469e

@MikeDevice
Copy link
Author

MikeDevice commented Jun 15, 2017

Yes. This lib was not released after that fix

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

2 participants