Sha256: 239d88ecdf300866360c0ecae3770e90ce5a672900df01300081e8033e97350f

Contents?: true

Size: 479 Bytes

Versions: 4

Compression:

Stored size: 479 Bytes

Contents

{spawn, exec} = require 'child_process'
sys = require 'sys'

task 'assets:watch', 'Watch source files and build JS', (options) ->
  runCommand = (name, args...) ->
    proc =           spawn name, args
    proc.stderr.on   'data', (buffer) -> console.log buffer.toString()
    proc.stdout.on   'data', (buffer) -> console.log buffer.toString()
    proc.on          'exit', (status) -> process.exit(1) if status isnt 0

  runCommand 'coffee', '-wcb', '../spec/javascripts', 'lib'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ice-0.5.1 js/Cakefile
ice-0.5.0 js/Cakefile
ice-0.4.4 js/Cakefile
ice-0.4.3 js/Cakefile