A boilerplate for configuring WebPack hot module replacement using Express for the server.
- Open terminal and run
git clone https://github.com/craigstroman/webpack-hmr-express.git
. - Then run
cd webpack-hmr-express
. - Install the dependencies by running
npm install
. - Start the server with
npm run server
. - Open a new terminal in the project directory and start the client by running
npm run client
.