Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

codeBelt/typescript-hapi-react-hot-loader-example

Repository files navigation

hapi-react-hot-loader-example

Example application demonstrating react-hot-loader-3 with webpack-2, react and friends, and hapi.

get started

  1. $ yarn
  2. $ yarn dev
  3. http://localhost:3000

dev tasks

  • $ yarn lint (eslint)
  • $ yarn dev (local development w/ server)

Type rs with a carriage return to restart nodemon if you make changes to the files within server-side. It's not efficient to automatically restart nodemon on file changes.

production tasks

  • $ yarn prod (production build w/ server)
  • $ yarn prod:build (production build)

staging tasks

  • $ yarn staging (staging build w/ server)
  • $ yarn staging:build (staging build)