Sha256: 2afcd767e57bbe75692e63d837e0e0ddab93d5239f674e652ba309c507718885

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

require 'guard/konacha/rails/formatter'
require 'guard/konacha/rails/runner'
require 'guard/konacha/rails/server'

require 'guard/compat/plugin'
require 'rails'
require 'konacha'

module Guard
  class Konacha < Plugin
    attr_accessor :runner

    def initialize(options = {})
      super

      @runner = Guard::KonachaRails::Runner.new(options)
    end

    def start
      runner.start
    end

    def run_all
      runner.run
    end

    def run_on_changes(paths = [])
      runner.run(paths)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-konacha-rails-1.1.3 lib/guard/konacha.rb