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
Thank you for maintaining this lib.
This code does not persists console.log ouput:
console.log
const Listr = require("listr"); const Observable = require("rxjs").Observable; const tasks = new Listr([ { title: "task", task: async () => { return new Observable(observer => { console.log("task - INIT"); observer.next("Foo"); setTimeout(() => { console.log("task - TIMEOUT 2000"); observer.next("Bar"); }, 2000); setTimeout(() => { console.log("task - TIMEOUT 4000"); observer.complete(); }, 4000); }); } } ]); tasks.run();
It displays:
✗ node test.js task - INIT ⠏ task ⠇ task ✔ task
task - TIMEOUT 2000 and task - TIMEOUT 4000 just flash then break line.
task - TIMEOUT 2000
task - TIMEOUT 4000
Is it the normal behavior? Is there a way to avoid this?
My goal is to persists some error on console (warnings, errors and information that does not need to stop the process but are important).
The text was updated successfully, but these errors were encountered:
Logging a line-break \n seems to help it persist
\n
Sorry, something went wrong.
No branches or pull requests
Thank you for maintaining this lib.
This code does not persists
console.log
ouput:It displays:
task - TIMEOUT 2000
andtask - TIMEOUT 4000
just flash then break line.Is it the normal behavior? Is there a way to avoid this?
My goal is to persists some error on console (warnings, errors and information that does not need to stop the process but are important).
The text was updated successfully, but these errors were encountered: