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