Added an option to change the port used by rack-livereload #25

Merged
davidmiani merged 1 commits from master into master 2013-02-03 14:07:39 +00:00
davidmiani commented 2013-02-03 11:52:59 +00:00 (Migrated from github.com)

This allows the javascript to work with a non default value for the
livereload port (specified with the port option in the guard command).

For example, in config/environments/development.rb in rails:
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload, :live_reload_port => 22351)
works with the following in the Guardfile:
guard 'livereload', port: '22351' do
...
end

This allows multiple guard livereload processes to operate at the same time without
conflicts.

This allows the javascript to work with a non default value for the livereload port (specified with the port option in the guard command). For example, in config/environments/development.rb in rails: config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload, :live_reload_port => 22351) works with the following in the Guardfile: guard 'livereload', port: '22351' do ... end This allows multiple guard livereload processes to operate at the same time without conflicts.
johnbintz commented 2013-02-03 14:07:35 +00:00 (Migrated from github.com)

Looks great! Merging in. Thanks!

Looks great! Merging in. Thanks!
coveralls commented 2014-04-07 13:57:08 +00:00 (Migrated from github.com)

Coverage Status

Changes Unknown when pulling 206ce04e77 on davidmiani:master into * on johnbintz:master*.

[![Coverage Status](https://coveralls.io/builds/662199/badge)](https://coveralls.io/builds/662199) Changes Unknown when pulling **206ce04e77b7acb32ee7c16f23d5d6527b4f8a42 on davidmiani:master** into *\* on johnbintz:master**.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/rack-livereload#25
No description provided.