Permalink
Browse files

Update lib/guard/compass.rb

allow users to compile stylesheets when guard is started
  • Loading branch information...
1 parent 9669184 commit a9333c9637506e49aa06d67e98d79598fd2c607b @mhayes committed Aug 7, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/guard/compass.rb
View
@@ -64,7 +64,12 @@ def valid_sass_path?
# Compile all the sass|scss stylesheets
def start
create_updater
- reporter.announce "Guard::Compass is waiting to compile your stylesheets."
+ if (options[:compile_on_start])
+ reporter.announce "Guard::Compass is going to compile your stylesheets."
+ perform
+ else
+ reporter.announce "Guard::Compass is waiting to compile your stylesheets."
+ end
true
end

0 comments on commit a9333c9

Please sign in to comment.