Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Convert-boots, common logic for source-to-source compile plugins
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
coffee
lib
test
.gitignore
package.json
readme.md

readme.md

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").rain
coffee.emit "watch",
  from: "a.coffee"
  to: "a.js"

coffee.emit "convert",
  from: "a.coffee"
  to: "a.js"

coffee.emit "watch",
  from: "a-dir"
  to: "b-dir"

coffee.emit "convert",
  from: "a-dir"
  to: "b-dir"

Events you may trigger:

  • watch: watch file and convert file on file change
  • convert: convert file at once

Parameters: more details in Convert-boots project

  • from: the filename or directory name of .coffee file
  • to: the destination, filename of directory correspond to from
Something went wrong with that request. Please try again.