What does the lazy mode of webpack dev server do?
<p>I am running my webpack-dev-server with </p>

<pre><code>webpack-dev-server --lazy --inline --progress --colors --port 8082
</code></pre>

<p>However this shows a 404 error in my browser when it tries to access <code>bundle.js</code>.</p>

<p>Everything else seems fine since if i replace <code>--lazy</code> with <code>--hot</code>, things work fine.</p>

<p>What exactly does <code>--lazy</code> do then?</p>

<p>Update:</p>

<p>Here is the webpack file -   </p>

<pre><code>module.exports = {
    devtool: "source-map",
    entry: [
        'webpack/hot/only-dev-server', // "only" prevents reload on syntax errors
        "./app/main.js"
    ],
    output: {
        path: "./js",
        filename: "bundle.js"
    },
    module: {
        loaders: [
            { test: /\.css$/, loader: "style-loader!css-loader"},
            { test: /\.js$/,  exclude: /node_modules/, loaders: ["react-hot"] }
        ]
    }
};
</code></pre>