This guard extention allows you to run all of your specs on JRuby without the initial start up cost. It does not run a subset of your specs like guard-rspec (yet) and it does not trigger a run when a file changes (yet). Instead, this extension loads all of your application files in advance, and reloads them individually when they change. That way, when you run RSpec, the JVM is already running, and your files have already been required.
Here's a short video of me using it:
- Autorun specs like guard-rspec (want to integrate with guard-rspec so as to not duplicate all of it's logic).
- Allow for extra rspec options
- Fix the way guard uses stdin so its not flaky on JRuby
- Work out the kinks in gj-rspec script so that specs can be run in main terminal.