Commit Graph

5 Commits

Author SHA1 Message Date
John Bintz 730a595be2 big refactoring 2013-04-23 16:28:23 -04:00
Adam McCrea 45d5868aa6 Handle Rails apps running on relative root 2013-04-02 10:13:37 -04:00
John Bintz 2327695365 make sure rack livereload port gets set when swf is disabled 2013-03-27 17:50:06 -04:00
David Miani 206ce04e77 Adds the live_reload_port option.
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.
2013-02-03 22:46:38 +11:00
John Bintz 47faab2457 add support for web-sockets-js 2011-11-17 15:44:48 -05:00