ranmocy / guard-rails

Guard-Rails is watching on your development servers as you wish!
http://ranmocy.github.com/guard-rails
MIT License
137 stars 25 forks source link

Where to set server type & port? #20

Closed netwire88 closed 10 years ago

netwire88 commented 10 years ago

Hi, I'm newbie to guard. Where do I set the options for server & port? The instructions talk about the setting, but do I set them in my Guardfile or command line?

ranmocy commented 10 years ago

You can write something like this in your Guardfile:

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

More options are in README