baldore / open-browser-webpack-plugin

Opens a new browser tab when Webpack loads.
119 stars 27 forks source link

Why open browser very slowly? #6

Open zhiyan opened 8 years ago

zhiyan commented 8 years ago

hi, i use the plugin as this:

var OpenBrowserPlugin = require('open-browser-webpack-plugin')
…
plugins: [
        new webpack.ProvidePlugin({
            $: 'jquery',
            jQuery: 'jquery'
        }),
        new OpenBrowserPlugin()
    ],

but when i run it, webpack-dev-server --inline --hot --quiet, it open the browser with nearly 10s delay.

my environment: node v0.12.7 npm 2.11.3 webpack 1.12.11

baldore commented 8 years ago

Hello! can you please check without --quiet option and see how much time your webpack-dev-server is taking to start? The browser is opened only when Webpack dev server is ready. Thanks.