Skip to content

Instantly share code, notes, and snippets.

@undoZen
Last active April 13, 2016 06:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save undoZen/6dbc7ab63c422f138a86e25d9519b32e to your computer and use it in GitHub Desktop.
Save undoZen/6dbc7ab63c422f138a86e25d9519b32e to your computer and use it in GitHub Desktop.
jspm-react-hot-reloader-demo
#!/usr/bin/env bash
git clone https://github.com/guybedford/jspm-react-component-demo.git
cd jspm-react-component-demo
npm i --save-dev jspm@beta chokidar-socket-emitter ecstatic
./node_modules/.bin/jspm i
./node_modules/.bin/jspm i --dev systemjs-hot-reloader #update to fix a bug
echo 'installation done, have fun!'
echo 'first `cd jspm-react-component-demo` into demo directory, then'
echo 'run `./node_modules/.bin/ecstatic` to serve static files and'
echo 'run `./node_modules/.bin/chokidar-socket-emitter` to start watch for hot reloader'
echo 'then visit http://localhost:8000 in your modern browser'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment