question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The Console Gets Cleared

See original GitHub issue

I’m trying to integrate it in create-guten-block.

I ejected and removed all the clear console functions so that nothing gets cleared.

Then I added webpackbar to it.

Configured it like you said and comment the stats comment so that we get all the stats.

But it still goes away after compiling.

Check 👇

image

Help! ⚠️

<div align="right">This question is available on Nuxt.js community (#c3)</div>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dvldencommented, Mar 27, 2018

For me, it does not work properly either… Both dev and production compilation gets stuck almost at the end, at 95% 😭 https://d.pr/i/pvxlv5

I did not set stream: process.stdout.error because that throws an error and I don’t even know what is that for?

I tested this just for fun, clearing the bar sounds good for me by default, so I’ll stick with that and enjoy the progress bar in webpack.

0reactions
pi0commented, Nov 9, 2018

Hi @ahmadawais and others.

Sorry for keeping this issue open for a long time. We have made several improvements with v3.0.0 (Latest is v3.1.2) and now, not only the clear screen is fully removed but also webpackbar can handle concurrent logs by third parties without hiding any of them.

Would be really happy hearing your feedbacks about the latest changes and also feel free opening new issues if having inconsistencies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stop the console log clearing when you click a link in Google ...
This is an option in the developer tools. Right click the console, and select Preserve Log upon Navigation, or go through the settings...
Read more >
console.clear() - Web APIs - MDN Web Docs
The console.clear() method clears the console if the console allows it. A graphical console, like those running on browsers, will allow it; ...
Read more >
Chrome's DevTools console getting cleared unexpectedly ...
I use the console on a daily basis to be able to debug applications, so it was fairly annoying to see the logs...
Read more >
How can one prevent Chrome from clearing its JavaScript ...
1. Open Chrome. 2. Hit F12 3. Click on 'Console Settings'. 4. Check 'Preserve log'. 5. And you are done ! Following pictorial...
Read more >
How to Clear the JavaScript Console in Google Chrome
Use console.clear() method. This method clears the console and displays console was cleared message. Use the short cut Ctrl + L to clear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found