Sha256: 0e0b260f042d5e214f6b16ca7a1a5ae91a64a81aa3b20bbc11f4eeb04d230c27

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

require 'listen'

require 'string/similarity'
require 'observer'

require "retest/version"
require "retest/runner"
require "retest/repository"
require "retest/matching_options"
require "retest/options"
require "retest/version_control"
require "retest/setup"
require "retest/command"
require "retest/file_system"
require "retest/program"
require "retest/prompt"
require "retest/sounds"

Listen.adapter_warn_behavior = :log

module Retest
  class Error < StandardError; end
  class FileNotFound < StandardError; end

  def self.listen(options, listener: Listen)
    listener.to('.', only: options.extension, relative: true, force_polling: options.force_polling?) do |modified, added, removed|
      yield modified, added, removed
    end.start
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
retest-2.0.0.pre4 lib/retest.rb