Sha256: 68eb77704df811a66e811e3bce5c0b78086062e6f0b3bb194508a8e39c7a89c7

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

Guard::Rack [![Build Status](http://travis-ci.org/dblock/guard-rack.png)](http://travis-ci.org/dblock/guard-rack)
===========

Want to restart your Rack development with *rackup* whilst you work? Now you can!

    guard 'rack', :port => 9292 do
      watch('Gemfile.lock')
      watch(%r{^(config|lib|app)/.*})
    end

Options
-------

* `:port` is the port number to run on (default `9292`)
* `:environment` is the environment to use (default `development`)
* `:start_on_start` will start the server when starting Guard (default `true`)
* `:force_run` kills any process that's holding open the listen port before attempting to (re)start Rack (default `false`).
* `:daemon` runs the server as a daemon, without any output to the terminal that ran `guard` (default `false`).
* `:debugger` runs the server with the debugger enabled (default `false`). Required ruby-debug gem.
* `:timeout` waits this number of seconds when restarting the Rack server before reporting there's a problem (default `20`).

Contributing
------------

Fork the project. Make your feature addition or bug fix with tests. Send a pull request. Bonus points for topic branches.

Copyright and License
---------------------

MIT License, see [LICENSE](http://github.com/dblock/guard-rack/raw/master/LICENSE.md) for details.

(c) 2012 [Daniel Doubrovkine](http://github.com/dblock)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guard-rack-1.2.1 README.md
guard-rack-1.1 README.md