Permalink
Browse files

Update template: use real Regexp or real String in watch blocks.

  • Loading branch information...
1 parent 8bdda05 commit 02c62e1f045bbc260e5c4e55f8701ae3faf0a5c1 @rymai rymai committed Jan 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/guard/compass/templates/Guardfile
@@ -1,8 +1,8 @@
guard 'compass' do
- watch('^src/(.*)\.s[ac]ss')
+ watch(%r{^src/(.*)\.s[ac]ss})
end
# # Alternative
# guard 'compass', :workdir => 'not_current_dir', :configuration_file => 'path/to/my/compass_config.rb' do
-# watch('^src/(.*)\.s[ac]ss')
+# watch(%r{^src/(.*)\.s[ac]ss})
# end

0 comments on commit 02c62e1

Please sign in to comment.