Use webpack and react can't hot update in PHP laravel framework?
<p>Use webpack and react can't hot update in PHP laravel framework?</p>

<p>just manual compiled refresh.</p>

<p>if i visited <a href="http://localhost:8080/webpack-dev-server/" rel="nofollow noreferrer">http://localhost:8080/webpack-dev-server/</a>, show CAN'T GET.i don't kown why?</p>

<p>if i Use webpack and react not in PHP laravel framework. Everything Was All Right.</p>

<p>this is my package.json and webpack.config.js</p>

<pre><code>var path = require('path');
var webpack = require('webpack');

module.exports = {

    entry: [
        'webpack/hot/dev-server',
        'webpack-dev-server/client?http://localhost:8080',
        path.resolve(__dirname, './public/js/asset/test.js'),
    ],
    output: {
        path: './public/js/home',
        filename: "index.js"
    },
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                loader: 'babel',
                exclude: /node_modules/,
                loader: 'babel-loader',
                query: {
                    presets:['react','es2015']
                }
            },
            {
                test: /\.css$/,
                loader: 'style!css'
            },
            {
                test: /\.scss$/,
                loader: 'style!css!sass'
            },
            {
                test: /\.(png|jpg)$/,
                loader: 'url?limit=25000'
            },
            {
                test: /\.woff$/,
                loader: 'url?limit=100000'
            }
        ]
    },
    plugins: [
        new webpack.NoErrorsPlugin(),
        new webpack.HotModuleReplacementPlugin()
    ]
};
</code></pre>