Skip to content

Commit

Permalink
Update template: use real Regexp or real String in watch blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rymai committed Jan 5, 2011
1 parent 8bdda05 commit 02c62e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.