Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.515 kb
require 'guard/guard'
# Output compiled JS classes for debugging
#
guard 'coffeescript', :output => 'tmp', :bare => true do
watch('^lib/**/(.*)\.coffee')
end
# Creates ~/ruby.js, and spec/javascripts/ruby-full.js for jasmine
guard :shell do
watch('^lib/**/(.*)\.coffee') { `cake build` }
end
# Compiles spec/ files
guard 'coffeescript', :output => 'spec/javascripts' do
watch('^spec/lib/(.*)\.coffee')
end
guard 'livereload' do
watch('^spec/javascripts/.+\.js$')
watch('^javascripts/lib/.+\.js$')
end
Jump to Line
Something went wrong with that request. Please try again.