Coffee-boots: watch and compile CoffeeScript code
This is a Rain-boots based plugin for CoffeeScript.
You may know more about it by reading docs of Convert-boots.
Usage
coffee = require"coffee-boots"raincoffeeemit "watch" from: "a.coffee" to: "a.js" coffeeemit "convert" from: "a.coffee" to: "a.js" coffeeemit "watch" from: "a-dir" to: "b-dir" coffeeemit "convert" from: "a-dir" to: "b-dir"
Events you may trigger:
watch
: watch file and convert file on file changeconvert
: convert file at once
Parameters: more details in Convert-boots project
from
: the filename or directory name of.coffee
fileto
: the destination, filename of directory correspond tofrom