Changed default live reload port (to be able to have several live reload instances working at same time).
This commit is contained in:
parent
28f1baa051
commit
32d404def9
2 changed files with 2 additions and 1 deletions
|
@ -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)})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue