fix listen deprecation
This commit is contained in:
parent
b230018692
commit
2ef3b7e4d9
|
@ -124,7 +124,7 @@ module Middleman
|
||||||
end
|
end
|
||||||
|
|
||||||
# Don't block this thread
|
# Don't block this thread
|
||||||
@listener.start(false) if first_run
|
@listener.start if first_run
|
||||||
end
|
end
|
||||||
|
|
||||||
# Trap some interupt signals and shut down smoothly
|
# Trap some interupt signals and shut down smoothly
|
||||||
|
|
|
@ -5,7 +5,7 @@ source 'http://rubygems.org'
|
||||||
gem "middleman", "~><%= Middleman::VERSION %>"
|
gem "middleman", "~><%= Middleman::VERSION %>"
|
||||||
|
|
||||||
# Live-reloading plugin
|
# Live-reloading plugin
|
||||||
gem "middleman-livereload"
|
gem "middleman-livereload", "~> 3.1.0"
|
||||||
|
|
||||||
# For faster file watcher updates:
|
# For faster file watcher updates:
|
||||||
# gem "rb-fsevent", "~> 0.9.3") # OS X
|
# gem "rb-fsevent", "~> 0.9.3") # OS X
|
||||||
|
|
Loading…
Reference in a new issue