# More info at https://github.com/guard/guard#readme guard 'rspec' do watch(%r{^spec/.+_spec\.rb$}) watch('Gemfile') { 'spec' } watch('Gemfile.lock') { 'spec' } watch(%r{^lib/(.+)\.rb$}) { 'spec' } watch('spec/spec_helper.rb') { 'spec' } end