Plugin
# File lib/guard/livereload.rb, line 11 def initialize(options = {}) super @options = { host: '0.0.0.0', port: '35729', apply_css_live: true, override_url: false, grace_period: 0 }.merge(options) end
# File lib/guard/livereload.rb, line 30 def run_on_modifications(paths) sleep options[:grace_period] reactor.reload_browser(paths) end
# File lib/guard/livereload.rb, line 22 def start @reactor = Reactor.new(options) end
# File lib/guard/livereload.rb, line 26 def stop reactor.stop end
[Validate]
Generated with the Darkfish Rdoc Generator 2.