mini-css-extract-plugin icon indicating copy to clipboard operation
mini-css-extract-plugin copied to clipboard

HMR logging doesn't respect devServer.client.logging setting

Open CreativeTechGuy opened this issue 4 years ago • 1 comments

Bug report

Actual Behavior

I see the log message [HMR] Reload all css every time I make changes despite my dev server logging setting being "none".

Expected Behavior

The value of devServer.client.logging in the webpack config should control when the log messages from this plugin are shown.

How Do We Reproduce?

  • Enable HMR
  • Enable this plugin
  • Set your dev server logging to "none"
  • Make a change
  • See the log message in the browser console

Please paste the results of npx webpack-cli info here, and mention other relevant information

N/A

CreativeTechGuy avatar Sep 30 '21 06:09 CreativeTechGuy

No related to dev server, but yes, we can do it

alexander-akait avatar Sep 30 '21 14:09 alexander-akait