ranmocy/guard-rails

Where to set server type & port?

Closed this issue · 1 comments

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?

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