module Roda::RodaPlugins::LiveReload
The live_reload plugin provides a chunked-body endpoint and injects a long-polling JavaScript function just before the closing body tag.
plugin :live_reload route do |r| r.live_reload end
Plugin Options¶ ↑
The following plugin options are supported:
- :watch
-
Array of folders to watch. Defaults to
assets
,views