git clone https://github.com/kevalbhatt/react-webpack-hmr.git
cd react-webpack-hmr/
npm install
npm start
open http://localhost:8080
Install slush-react-webpack-hmr globally:
$ npm install -g slush-react-webpack-hmrCreate a new folder for your project:
$ mkdir my-slush-react-webpack-hmrRun the generator from within the new folder:
$ cd my-slush-react-webpack-hmr && slush react-webpack-hmrNote: slush react-webpack-hm will start npm server it self.
Now edit app/index.jsx.
Your changes will appear without reloading the browser.