This project is a simple example of how to use webpack-hot-middleware to enable HMR on your express server.
npm install
npm start
Open http://localhost:3000.
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.