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.

How to quiet the console.log outputs?

See original GitHub issue

This kind of output in the browser console is really hard to work with. Can I disable these outputs?

[HMR] App is up to date.
[WDS] App updated. Recompiling...
[WDS] App hot update...
[HMR] Checking for updates on the server...

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:19
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

59reactions
peteobriencommented, Nov 10, 2017

A quick way to silencing could be filtering in devtools with regex. i.e. ~ /^((?!(\[HMR|\[WDS)).)*$/ UPDATE: in chrome 62 we can simply use -HMR -WDS

56reactions
gaearoncommented, Feb 14, 2015

You can copy paste webpack/hot/only-dev-server to your project, strip logs from it and use your version instead.

Closing, let me know if I missed something!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to QUIET ALL webpack console.log outputs?
Show activity on this post. this not working: config.stats = 'none' config.devServer = { stats: 'none' }. i get this output. output.
Read more >
Suppressing console.log() messages in production
Solution 3 - Strip out during the build process. We can use one of the popular front-end build tools to remove all console.log()...
Read more >
Silence JavaScript console output (Example) - Coderwall
A protip by shakeelmohamed about console, tests, print, and javascript.
Read more >
Limiting ffmpeg console output even further - Super User
Is there a way to limit console output from ffmpeg either by setting options or ... How can I make ffmpeg be quieter/less...
Read more >
console.trace() - Web APIs - MDN Web Docs
The console.trace() method outputs a stack trace to the Web console. ... Zero or more objects to be output to console along with...
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