generator-cycle-coffee-hot-reloading
v0.1.4
Published
A yeoman generator to generate a boilerplate project using cycle.js, coffee-script and with hot reloading support
Downloads
20
Maintainers
Readme
generator-cycle-coffee-hot-reloading
Generate a boilerplate project using cycle.js, coffee-script and with hot reloading support(only for coffee-script).
Jade and stylus code changes will cause a live-reloading.
Getting Started
Not every new computer comes with a Yeoman pre-installed. You only have to install it once.
$ npm install -g yoYeoman Generators
To install generator-gulp-coffee-react from npm, run:
$ npm install -g generator-cycle-coffee-hot-reloadingAnd then, create a directory to put you framer project in:
$ mkdir your-proj && cd $_After that, initiate the generator:
$ yo cycle-coffee-hot-reloadingThis step takes time to install all dependencies that your project needs.
Finally, run npm start to start your development server and see the demo project.
I'm using browserify for code bundling, browserify-hmr for hot reloading and browser-sync for the development web server.
browserify-hmr will also start a websocket server on port 3123 for the browser checking whether the coffee-script code changes.
