Sha256: a21c8b813e03eef56be72721a55830f47939e3e55670215bf16b731b94f3ef9a

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

# guard-rackup
# Tha command for rackup
#   :command => "rackup ./config.ru -E development",
#
# start(run :command as above) proc, it must return pid
#   :start => proc{ Process.spawn(command) },
#
# stop proc
#   :stop => proc{|pid| Process.kill("INT", pid); Process.wait pid},
#
# reload proc that fired when watched files changed
#   :reload => proc{ stop; start },
guard "rackup" do
  watch(%r{^app/.*\.rb$})
  watch(%r{^lib/.*\.rb$})
  watch(%r{^config/.*\.rb$})
  watch("config.ru")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-rackup-0.0.1 lib/guard/rackup/templates/Guardfile