rack-livereload/Guardfile

18 lines
417 B
Plaintext
Raw Permalink Normal View History

# A sample Guardfile
# More info at https://github.com/guard/guard#readme
2011-11-04 15:51:22 +00:00
guard 'rspec', :cli => '-c' do
2011-11-04 15:51:22 +00:00
watch(%r{^spec/.+_spec\.rb$})
2011-11-07 13:49:42 +00:00
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
2011-11-04 15:51:22 +00:00
watch('spec/spec_helper.rb') { "spec" }
end
2011-11-17 20:44:48 +00:00
guard 'livereload' do
watch('index.html')
end
guard 'cucumber' do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' }
end