No longer maintained. Latest version is at https://github.com/ranmocy/guard-rails
Go to file
2011-05-27 16:44:23 -04:00
lib more changes 2011-05-27 16:44:23 -04:00
.gitignore initial commit 2011-05-27 14:41:07 -04:00
Gemfile more tweaking 2011-05-27 14:44:38 -04:00
guard-rails.gemspec more tweaking 2011-05-27 14:44:38 -04:00
Rakefile initial commit 2011-05-27 14:41:07 -04:00
README.md tempalte and readme work 2011-05-27 14:55:23 -04:00

Want to restart your Rails dev server whilst you work? Now you can!

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

Three fun options!

  • :port is the port number to run on (default 3000)
  • :environment is the environment to use (default development)
  • :start_on_start will start the server when starting Guard (default true)

This is super-alpha, but it works for me!