One-liner during Ruby prototyping

Run this in a separate shell when rapid-prototyping a ruby program:

$ while sleep 10; do git add .; bundle exec rspec -f p && git commit -m 'Checkpoint'; done

Leave a Reply

Your email address will not be published. Required fields are marked *

*