Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 443 Bytes
guard 'shell' do
# Cakefile
watch(/^Cakefile$/) { |m| `cake build:all` }
# Library
watch(/^lib\/.*/) { |m| `cake build:lib`}
# Specs
watch(/^spec\/.*/) { |m| `cake build:spec` }
end
reload_url = 'http://localhost:3000'
guard 'livereload' do
watch(/^jasmine-wkreporter.js$/) { |m| reload_url }
watch(/^jasmine-wkreporter.spec.js$/) { |m| reload_url }
watch(/^vendor\/.*/) { |m| reload_url }
end