Skip to content

Allow users to compile stylesheets when Guard is started #11

Merged
merged 1 commit into from Oct 7, 2012
+6 −1
View
7 lib/guard/compass.rb
@@ -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
Something went wrong with that request. Please try again.