We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like node-progress not rendering properly with listr. Consider running this following code where 2 libs coexist:
const ProgressBar = require('progress'); const Listr = require('listr'); // progress-bar let bar = new ProgressBar(':bar', { total: 10 }); let timer = setInterval(function() { bar.tick(); if (bar.complete) { console.log('\ncomplete\n'); clearInterval(timer); } }, 1000); // listr const tasks = new Listr([{ title: 'task 1', task: () => { return new Promise((resolve) => { setTimeout(() => { resolve() }, 3000) }) } }, { title: 'Task 2', task: () => { return new Promise((resolve) => { setTimeout(() => { resolve() }, 3000) }) } } ]); tasks.run().catch(err => { console.error(err); });
On the output progress bar blinks periodically..
The text was updated successfully, but these errors were encountered:
Same here
Sorry, something went wrong.
No branches or pull requests
Looks like node-progress not rendering properly with listr.
Consider running this following code where 2 libs coexist:
On the output progress bar blinks periodically..
The text was updated successfully, but these errors were encountered: