main
 1# A sample Guardfile
 2# More info at https://github.com/guard/guard#readme
 3#
 4
 5guard 'rspec', :cli => '--color --format nested' do
 6  watch(%r{^lib/(.+)\.rb$}) do |item|
 7    "spec/unit/#{item[1]}_spec.rb"
 8  end
 9  watch(%r{^spec/.+_spec\.rb$})
10  watch('spec/spec_helper.rb') do |item|
11    "spec"
12  end
13end
14
15notification :tmux,
16  :display_message => true,
17  :timeout => 5,
18  :default_message_format => '%s >> %s',
19  :line_separator => ' > ',
20  :color_location => 'status-left-bg'