Sha256: b68ae65023fcf99fee48a1d093f54f90bbd956d1fa2c2828c34cabca2202a7c7

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'guard'
require 'guard/guard'

module Guard
  class Pow < Guard

    autoload :Runner, 'guard/pow/runner'
    attr_accessor :runner

    def initialize(watchers = [], options = {})
      super
      @runner = Runner.new
    end

    def start
      runner.restart_pow
    end

    def reload
      runner.restart_pow
    end

    def run_on_change(paths)
      runner.restart_pow
    end

    def stop
      true
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-pow-0.1.0 lib/guard/pow.rb