Permalink
Browse files

Change strings to regular expressions

  • Loading branch information...
1 parent 3a11aea commit 8b9ebe4eda9dcd27223b0ebe457277b7d730a9ef @kelsin kelsin committed Aug 4, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/guard/jammit/templates/Guardfile
View
6 lib/guard/jammit/templates/Guardfile
@@ -1,4 +1,4 @@
guard 'jammit' do
- watch('^public/javascripts/(.*)\.js')
- watch('^public/stylesheets/(.*)\.css')
-end
+ watch(%r{^public/javascripts/(.*)\.js$})
+ watch(%r{^public/stylesheets/(.*)\.css$})
+end

0 comments on commit 8b9ebe4

Please sign in to comment.