wordpress-theme-base icon indicating copy to clipboard operation
wordpress-theme-base copied to clipboard

webpack-dev-server spam on Firefox

Open k1sul1 opened this issue 5 years ago • 0 comments

image

For whatever reason, Firefox and webpack-dev-server don't like each other. I think that the problem is in self signed certificates, as this doesn't happen if HTTPS isn't used.

Workaround:

disable HTTPS in webpack config, or override console.log. In Chrome you can use -WDS as filter to disable these messages if they happen.

const _log = console.log
console.log = function () {
  if (arguments[0].indexOf('[HMR]') === -1) {
    return _log.apply(console, arguments)
  }
}

k1sul1 avatar Sep 25 '18 12:09 k1sul1