Skip to content

Commit fd2f61d

Browse files
committed
Watch rake files in default Guardfile
1 parent 3d85260 commit fd2f61d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/guard/rspec/templates/Guardfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ guard :rspec, cmd: "bundle exec rspec" do
5050
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
5151
Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
5252
end
53+
54+
# Rake tasks
55+
dsl.watch_spec_files_for(dsl.rake.rake_files)
5356
end

0 commit comments

Comments
 (0)