Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 246 Bytes
def restart_and_spec
system("powder restart")
system("bundle exec rspec spec")
end
watch( 'lib/.*\.rb' ) { |md| restart_and_spec }
watch( 'views/.*') { |md| restart_and_spec }
watch( 'spec/.*\.rb' ) { |md| system("bundle exec rspec spec") }
Something went wrong with that request. Please try again.