Starter project for Webpack HMR using the 'webpack-hot-middleware' module to run within an express server.
JavaScript HTML
Latest commit f3ca9f6 Nov 19, 2015 @ahfarmer inital commit 😺

README.md

HMR w/ webpack-hot-middleware and express

This project is a simple example of how to use webpack-hot-middleware to enable HMR on your express server.

Setup

npm install

Running

npm start

Open http://localhost:3000.

Discussion

The npm start command runs: node server.js. This starts the express server which is configured to use webpack-hot-middleware.

This is ideal when you are already using or planning to use express to host your web page.