#!/usr/bin/env ruby #^syntax detection # A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'rspec' do watch(%r{^spanx\.gemspec}) { "spec"} watch(%r{^lib/(.+)\.rb$}) { "spec" } watch(%r{^spec/.+_spec\.rb$}) watch('spec/spec_helper.rb') { "spec" } watch(%r{spec/support/.*}) { "spec" } end