From 8b9ebe4eda9dcd27223b0ebe457277b7d730a9ef Mon Sep 17 00:00:00 2001 From: Christopher Giroir Date: Wed, 3 Aug 2011 21:39:30 -0400 Subject: [PATCH] Change strings to regular expressions --- lib/guard/jammit/templates/Guardfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/guard/jammit/templates/Guardfile b/lib/guard/jammit/templates/Guardfile index c1276e5..20ac02d 100644 --- a/lib/guard/jammit/templates/Guardfile +++ b/lib/guard/jammit/templates/Guardfile @@ -1,4 +1,4 @@ guard 'jammit' do - watch('^public/javascripts/(.*)\.js') - watch('^public/stylesheets/(.*)\.css') -end \ No newline at end of file + watch(%r{^public/javascripts/(.*)\.js$}) + watch(%r{^public/stylesheets/(.*)\.css$}) +end