Sha256: 18eda17a7dd0888a95f5f0954b623412baf5874670d2ca95bfeacb968b595e9f
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
module RevealCK module Commands # The idea of listening for file system changes that indicate its # time to tell browsers to reload. class ListenToReloadBrowser attr_reader :prefix def initialize(ui) @prefix = ui.prefix_for(:reload) end def run require 'guard' guardfile = RevealCK.path('files/reveal-ck/Guardfile') Guard::UI.options[:template] = "#{prefix} :message" Guard.start guardfile: guardfile, no_interactions: true end end end end
Version data entries
6 entries across 6 versions & 1 rubygems