Guard::Zeus automatically starts and stops Zeus.
Install the gem:
$ gem install guard-zeus
Add it to your Gemfile (inside development group):
Add guard definition to your Guardfile by running this command:
$ guard init zeus
Please read Guard usage doc
Please read Guard doc for more information about the Guardfile DSL.
:rspec => false # Don't use RSpec :test_unit => false # Don't use Test::Unit :bundler => false # Don't use "bundle exec" :cli => '--time' # Pass options to zeus. `zeus commands` for more zeus options :run_all => true # Run all tests when hitting enter in guard
There is a known issue when using guard-zeus with pry, notably the zeus output appear on top of the pry console.
The workaround is to add the
cli setting in your
guard 'zeus', cli: '> /dev/null' do
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.
Based on the awesome guard-spin. Original authors include:
Ported to use zeus by: