jekyll-algolia/Guardfile

13 lines
297 B
Ruby

# frozen_string_literal: true
# Live-reload unit tests
guard :rspec, cmd: 'bundle exec rspec --color --format progress' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) do |match|
"spec/#{match[1]}_spec.rb"
end
watch('spec/spec_helper.rb') { 'spec' }
end
notification :off