Skip to content

Instantly share code, notes, and snippets.

@seven1m
Created June 26, 2015 01:29
Show Gist options
  • Save seven1m/6fa2f0ac6a02679c4173 to your computer and use it in GitHub Desktop.
Save seven1m/6fa2f0ac6a02679c4173 to your computer and use it in GitHub Desktop.
.watchr config for watchr/observr
# run the specs when anything changes
watch('.*') do
cmd = IO.popen('rspec spec 2>&1')
print cmd.getc until cmd.eof?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment