Guard::Spin automatically starts and stops Spin server.
Please be sure to have Guard installed before continue.
Install the gem:
$ gem install guard-spin
Add it to your Gemfile (inside development group):
gem 'guard-spin'
Add guard definition to your Guardfile by running this command:
$ guard init spin
Please read Guard usage doc
Please read Guard doc for more information about the Guardfile DSL.
Available options:
: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 spin serve. `spin -h` for more spin options
:env => "ENVVAR=value" # Pass ENV variables to the spin serve process
:run_all => true # Run all tests when hitting enter in guard
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.