Created
June 26, 2015 01:29
-
-
Save seven1m/6fa2f0ac6a02679c4173 to your computer and use it in GitHub Desktop.
.watchr config for watchr/observr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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