Sha256: 377375c2b69a08b8c9d96c2743c80ad954bf4c9b7922e4661f51cc4f6734d91c

Contents?: true

Size: 563 Bytes

Versions: 2

Compression:

Stored size: 563 Bytes

Contents

directories %w(. lib lib/express_pigeon spec spec/lib spec/lib/express_pigeon)
clearing :on

watch ('Guardfile') do
  UI.info 'Exiting because Guard must be restarted for changes to take effect'
  exit 0
end

guard :rspec, cmd: 'bundle exec rspec --warnings' do
  require 'guard/rspec/dsl'
  dsl = Guard::RSpec::Dsl.new(self)

  # RSpec files
  rspec = dsl.rspec
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(rspec.spec_support) { rspec.spec_dir }
  watch(rspec.spec_files)

  # Ruby files
  ruby = dsl.ruby
  dsl.watch_spec_files_for(ruby.lib_files)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
express_pigeon-2.4.1 Guardfile
express_pigeon-2.4.0 Guardfile