No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib/guard
spec
.gitignore
.rspec
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
guard-jetty.gemspec

README.md

Guard::Jetty

Guard::Jetty automatically starts and reloads your jetty server.

Installation

Please make sure to have Guard installed before continuing.

Add it to your Gemfile

group :development do
  gem 'guard-jetty'
end

then install it by running Bundler:

$ bundle

Add the default Guard::Jetty template to your Guardfile by running:

$ guard init jetty

Usage

Please read the Guard usage doc.

Guard::Jetty uses Jettywrapper to start and stop Jetty. By default it will read your jetty configuration from config/jetty.yml, but you can also set options in your Guardfile. Options set in the Guardfile will override those found in config/jetty.yml.

guard 'jetty', jetty_port: 8983 do
  watch('config/jetty.yml')
  watch(%r{^jetty/(.+)\.xml$})
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request