Skip to content

Quiet and noInfo options not suppressing logs in browser #33

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

Closed
bradbarrow opened this issue May 21, 2015 · 1 comment
Closed

Quiet and noInfo options not suppressing logs in browser #33

bradbarrow opened this issue May 21, 2015 · 1 comment

Comments

@bradbarrow
Copy link

Hi,

I'm using the API and setting quiet and noInfo to true as follows:

  new WebpackDevServer(webpack(webpackConfig.client), {
    publicPath: webpackConfig.client.output.publicPath,
    hot: true,
    quiet: true,
    noInfo: true
  }).listen(4000, 'localhost', function (err, result) {
    if(err) {
      console.log('error', err);
    }
    else {
      console.log('info', "dev server listening on 4000");
    }
  });

When I run the server node devServer.js I simply get the dev server listening on 4000 message and no other output which is what I want.

When I visit my app in the browser though, which includes the following:

<script src="http://localhost:4000/bundle/client.js"></script>

My browser's console is spammed with socket logs. Is this expected? Shouldn't the quiet option prevent this?

@SpaceK33z
Copy link
Member

This is related to webpack-dev-server. There are more people over there who want this: webpack/webpack-dev-server#109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants