From fd2f61d1a7741f59cc0aa8b49654b1b5ad7b9eab Mon Sep 17 00:00:00 2001 From: Aaron Rosenberg Date: Wed, 14 Sep 2016 15:19:48 -0400 Subject: [PATCH] Watch rake files in default Guardfile --- lib/guard/rspec/templates/Guardfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/guard/rspec/templates/Guardfile b/lib/guard/rspec/templates/Guardfile index 84cddc34..54b43e7e 100644 --- a/lib/guard/rspec/templates/Guardfile +++ b/lib/guard/rspec/templates/Guardfile @@ -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