A workflow with full live reload for webpack&express application.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.gitignore
README.md
app.js
app_browsersync.js
package.json
webpack.config.js
webpack.production.config.js

README.md

express-webpack-full-live-reload-example

A workflow with full live reload for webpack&express application.

The explaining post could be found here.

This branch master is for webpack 2, use branch webpack_1 if you need the older version.

Start

  1. Clone this repo.

  2. Install dependencies.

     npm install
     npm install supervisor -g
    
  3. Try these out.

    • npm start to develop with full live reload.
    • npm run browsersync is a alternative for development. It may be faster when modifying the express views (templates) only.
    • npm run production to emit outputs and run the express for production.
    • npm run build if you care about what is hold in memory for development...

Preview

example preview