Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Guard & Growl

Andrew Thal
May 09, 2012
120

Guard & Growl

Andrew Thal

May 09, 2012
Tweet

Transcript

  1. gem install guard Guardfile: guard 'rspec', :version => 2 do

    watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end
  2. gem install guard Guardfile: guard 'rspec', :version => 2 do

    watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end
  3. gem install guard Guardfile: guard 'rspec', :version => 2 do

    watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end