Skip to content

Starter project for Webpack HMR using the 'webpack-hot-middleware' module to run within an express server.

Notifications You must be signed in to change notification settings

waynecz/webpack-hmr-starter-middleware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Starter project for Webpack HMR using the 'webpack-hot-middleware' module to run within an express server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.6%
  • HTML 4.4%