Method: Jekyll::Commands::Serve::LiveReloadReactor#stop
- Defined in:
- lib/jekyll/commands/serve/live_reload_reactor.rb
#stop ⇒ Object
20 21 22 23 24 25 |
# File 'lib/jekyll/commands/serve/live_reload_reactor.rb', line 20 def stop # There is only one EventMachine instance per Ruby process so stopping # it here will stop the reactor thread we have running. EM.stop if EM.reactor_running? Jekyll.logger.debug "LiveReload Server:", "halted" end |