Skip to content

Instantly share code, notes, and snippets.

@x1a0
Created April 10, 2013 11:22
Show Gist options
  • Save x1a0/5353811 to your computer and use it in GitHub Desktop.
Save x1a0/5353811 to your computer and use it in GitHub Desktop.
Cakefile for Sencha Touch development
{spawn} = require 'child_process'
dev = ->
cmd = "coffee"
args = ["-c", "-b", "-w", "-o", "app", "coffee"]
coffee = spawn cmd, args
coffee.stdout.pipe process.stdout
coffee.stderr.pipe process.stderr
coffee.on "exit", (status) ->
console.log "coffee exit with #{status}"
task "dev", "start development", ->
console.log "watching and compiling coffee scripts"
dev()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment