Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Basic LiveReactload 2.x usage

This example demonstrates the minimal live reloading configuration.

  • package.json contains watchify script and bundle:prod for production bundle creation
  • .babelrc contains Babel transformation setup for development environment
  • Application code is in src folder

You can run this example by typing

npm i && npm run watch
open http://localhost:3000   # OS X only

After the server is started, you can edit source files from src and changes should be reloaded as they occur.

And extra: universal server side rendering in server.js