Sha256: 0f84582c27d1cf9110191fd037bba210944d8682d6d08675e1adc669d4373a55
Contents?: true
Size: 573 Bytes
Versions: 9
Compression:
Stored size: 573 Bytes
Contents
require 'guard' require 'guard/guard' module Guard class Spork < Guard autoload :Runner, 'guard/spork/runner' attr_accessor :runner def initialize(watchers=[], options={}) super @runner = Runner.new(options) end def start runner.kill_sporks runner.launch_sporks("start") end def reload runner.kill_sporks runner.launch_sporks("reload") end def run_on_change(paths) runner.kill_sporks runner.launch_sporks("reload") end def stop runner.kill_sporks end end end
Version data entries
9 entries across 9 versions & 1 rubygems