Class: Bridgetown::Tags::LiveReloadJsTag

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
bridgetown-core/lib/bridgetown-core/tags/live_reload_dev_js.rb

Instance Method Summary collapse

Instance Method Details

#render(context) ⇒ Object



6
7
8
# File 'bridgetown-core/lib/bridgetown-core/tags/live_reload_dev_js.rb', line 6

def render(context)
  Bridgetown::Utils.live_reload_js(context.registers[:site])
end