A workflow with full live reload for webpack&express application.
The explaining post could be found here.
This branch master
is for webpack 4, use branch webpack_2
or webpack_1
if you need the older version.
-
Clone this repo.
-
Install dependencies.
yarn yarn global add supervisor
-
Try these out.
yarn start
to develop with full live reload.yarn browsersync
is a alternative for development. It may be faster when modifying the express views (templates) only.yarn production
to emit outputs and run the express for production.yarn build
if you care about what is hold in memory for development...