Sha256: 36a06f5d55860521e867142658a5c2cb4bb130afd74e827ef3bf9ce9928450c6

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 Bytes

Contents

`guard-rackup` is an alternative of [shotgun](https://github.com/rtomayko/shotgun/)

# Install

    $ gem i guard-rackup

Or add it your Gemfile:

    $ gem "guard-rackup"
    $ bundle install

And then add a basic setup to your Guardfile:

    $ guard init rackup

# Usage

Please reada [Guard document](https://github.com/guard/guard#readme)


# Guardfile

    guard "rackup" do
      watch(%r{^app/.*\.rb$})
      watch(%r{^lib/.*\.rb$})
      ...
    end

Or

    guard "rackup",
      :command => "unicorn ./config.ru -E development",
      :start => proc{ Process.spawn(command) },
      :stop => proc{|pid| Process.kill("QUIT", pid)},
      :reload => proc{ Process.kill("HUP", @pid) }
      do
      watch ...
    end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-rackup-0.0.1 README.mkd