-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[HMR] Waiting for update signal from WDS...
is not affected by clientLogLevel: 'silent'
#2166
Comments
PR welcome, not priority |
You can do it by following steps
|
what to do when i get this type of error |
The solution I'm using for silencing info-level messages from both the terminal and browser console when using webpack v5.8.0 and webpack-dev-server v4.0.0-beta.0 is to:
|
You should not patch nothing, just set |
Hi @alexander-akait, I haven't found another way to suppress the info-level logging in the browser devtools console. Repro. Tested on Mac Safari/Chrome. |
|
I'm getting hundreds of log messages in Chrome DevTools every time HMR rebuilds, things like:
that indicate progress. It's polluting the console so much it becomes useless. Weird thing is, I already have Then, I added a CLI flag |
@grzegorzjudas yep, we have the bug and the PR, so it is beta, I think we will do new beta at the end of week with many fixes |
Close in favor #2932, will be fixed in near future |
This worked for me very good. Thanks! |
[HMR] Waiting for update signal from WDS...
Code
Instructions for reproducible test repo (link):
git clone git@github.com:marcofugaro/hmr-test-repo.git
cd hmr-test-repo
npm i
npm start
webpack.config.js
Expected Behavior
When having
clientLogLevel: 'silent',
in the devServer options, nothing should be logged to the browser consoleActual Behavior
[HMR] Waiting for update signal from WDS...
is logged to the browser console:The text was updated successfully, but these errors were encountered: