Skip to content

Instantly share code, notes, and snippets.

@skuroki
skuroki / watchr-runner.rb
Created November 2, 2011 09:19 — forked from rud/watchr-runner.rb
watchr for rspec
def run(cmd)
puts(cmd)
system(cmd)
puts 'Finished. ' + Time.now.to_s
end
def run_single_spec (*spec)
spec = spec.join(' ')
run "rspec -bX #{spec}"
end