webpack live hot reload for sass : <p>I am building a workflow for a react starter and would like to have my browser auto reload when I make a change to my scss files.</p>

<p>Currently, webpack will hot reload when I make a change in my index.js file (set as my entry point).  However when I change/add scss code in my scss file, it gets compiled, but the css doesn't get output anywhere and does not trigger a browser reload.  </p>

<p>I am new to webpack would really appreciate some insight here.</p>

<p>Here is my webpack.config.js</p>

<pre><code>const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
    entry: ['./src/js/index.js', './src/scss/style.scss'],
    output: {
        path: path.join(__dirname, 'dist'),
        filename: 'js/index_bundle.js',
    },
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                use: {
                    loader: 'babel-loader'
                }
            },
            {
                test: /\.css$/,
                use: ['style-loader', 'css-loader']
            },
            {
                test: /\.scss$/,
                use: [
                    {
                        loader: 'file-loader',
                        options: {
                            name: '[name].css',
                            outputPath: 'css/'
                        }
                    },
                    {
                        loader: 'extract-loader'
                    },
                    {
                        loader: 'css-loader'
                    },
                    {
                        loader: 'postcss-loader'
                    },
                    {
                        loader: 'sass-loader'
                    }
                ]
            }
        ]
    },
    plugins: [
        new HtmlWebpackPlugin({
            template: './src/index.html'    
        })
    ]
}
</code></pre>

<p>My index.js entry point file</p>

<pre><code>import React from 'react';
import ReactDOM from 'react-dom';
import App from '../components/App';


ReactDOM.render(
    &lt;App/&gt;,
    document.getElementById('App')
);
</code></pre>

<p>And my App component</p>

<pre><code>import React, {Component} from 'react';
import '../../dist/css/style.css';



class App extends Component {
    render() {
        return (
            &lt;div&gt;
                &lt;p&gt;Test&lt;/p&gt;         
            &lt;/div&gt;
        )
    }
}

export default App;
</code></pre>
