Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change strings to regular expressions

  • Loading branch information...
commit 8b9ebe4eda9dcd27223b0ebe457277b7d730a9ef 1 parent 3a11aea
Christopher Giroir authored August 03, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  lib/guard/jammit/templates/Guardfile
6  lib/guard/jammit/templates/Guardfile
... ...
@@ -1,4 +1,4 @@
1 1
 guard 'jammit' do
2  
-  watch('^public/javascripts/(.*)\.js')
3  
-  watch('^public/stylesheets/(.*)\.css')
4  
-end
  2
+  watch(%r{^public/javascripts/(.*)\.js$})
  3
+  watch(%r{^public/stylesheets/(.*)\.css$})
  4
+end

0 notes on commit 8b9ebe4

Please sign in to comment.
Something went wrong with that request. Please try again.