Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Webpack transport polling errors

I have the below grunt task in my express/webpack app that starts a webpack-dev-server:

"webpack-dev-server": {
    options: {
        webpack: webpackConfig,
        publicPath: '/assets/',
        watch: true,
        inline: true,
        hot: true,
        quiet: true
    },
    start: {
        keepAlive: true,
        webpack: {
            devtool: 'eval',
            debug: true
        }
    }
}

The issue I'm having is that the poller just spams my chrome console which is gonna be pretty annoying when it comes to debugging. (I'm in the bare-bones app stage).

enter image description here

Anybody any ideas at all what could be causing this?

like image 564
leaksterrr Avatar asked Jul 24 '15 09:07

leaksterrr


1 Answers

found it myself:

set host option in grunt to 'localhost'

like image 69
Idefixx Avatar answered Nov 08 '22 04:11

Idefixx