From 32d404def9a032b27f08cf80f28f03255c6db182 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 22 Dec 2014 13:37:34 +0100 Subject: [PATCH] Changed default live reload port (to be able to have several live reload instances working at same time). --- Guardfile | 2 +- config/environments/development.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index 3c5adfccd..90d07db40 100644 --- a/Guardfile +++ b/Guardfile @@ -1,7 +1,7 @@ # A sample Guardfile # More info at https://github.com/guard/guard#readme -guard 'livereload' do +guard 'livereload', :port => '35738' do watch(%r{app/views/.+\.(erb|haml|slim)$}) watch(%r{app/helpers/.+\.rb}) watch(%r{public/.+\.(css|js|html)}) diff --git a/config/environments/development.rb b/config/environments/development.rb index 53df25ea9..9a68eac06 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -34,6 +34,7 @@ Zammad::Application.configure do config.middleware.use(Rack::LiveReload, :min_delay => 500, # default 1000 :max_delay => 10_000, # default 60_000 + :live_reload_port => 35738, :source => :vendored ) end