socket.io prototype to test multi-chrome window animation.
- clone the repo
- Install system dependencies (see above)
- Switch to the root of your working copy
npm install
node app.js
- Open up three seperate chrome windows and browse to http://localhost:3000/{1/2/3}.html. Hit 'S' to animate.
Use supervisor to auto-restart node server when .js files change:
npm install -g
supervisor- Use
supervisor app.js
rather thannode app.js
to run server - Save JavaScript files and see server rerun instantly