generator-cycle-coffee-hot-reloading

0.1.4 • Public • Published

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 yo

Yeoman Generators

To install generator-gulp-coffee-react from npm, run:

$ npm install -g generator-cycle-coffee-hot-reloading

And then, create a directory to put you framer project in:

$ mkdir your-proj && cd $_

After that, initiate the generator:

$ yo cycle-coffee-hot-reloading

This 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.

Package Sidebar

Install

npm i generator-cycle-coffee-hot-reloading

Weekly Downloads

1

Version

0.1.4

License

ISC

Last publish

Collaborators

  • jacobbubu