Example universal/isomorphic application demonstrating react-hot-loader-3 with webpack-3, react and friends, and hapi.
- $
yarn
- $
yarn dev
- http://localhost:3000
- $
yarn lint
(eslint) - $
yarn dev
(local development w/ server)
Type
rs
with a carriage return to restart nodemon if you make changes to theserver.js
file or any files within theserver
folder. It's not efficient to automatically restart nodemon on file changes.
Note: Saga's do not hot load. You will have to reload the browser. Read more about potential issues and/or implement yourself.
- $
yarn prod
(production build w/ server) - $
yarn prod:build
(production build)
- $
yarn staging
(staging build w/ server) - $
yarn staging:build
(staging build)