Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 443 Bytes
require './app'
group :a do
guard 'sprockets2', :sprockets => App.sprockets, :digest => false do
watch(%r{^assets/.+$})
watch('app.rb')
end
end
group :j do
spec_location = "spec/%s_spec"
guard 'jasmine-headless-webkit' do
watch(%r{^src/(.*)\.(coffee|js)$}) { |m| newest_js_file(spec_location % m[1]) }
watch(%r{^spec/helpers*})
watch(%r{^spec/(.*)_spec\..*}) { |m| newest_js_file(spec_location % m[1]) }
end
end
Something went wrong with that request. Please try again.