Skip to content

Commit

Permalink
Watch rake files in default Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
agrberg committed Sep 14, 2016
1 parent 3d85260 commit fd2f61d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/guard/rspec/templates/Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ guard :rspec, cmd: "bundle exec rspec" do
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
end

# Rake tasks
dsl.watch_spec_files_for(dsl.rake.rake_files)
end

0 comments on commit fd2f61d

Please sign in to comment.