Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11 from mhayes/master

Allow users to compile stylesheets when Guard is started
  • Loading branch information...
commit bfc95d5b134bb06709d2951681ce453a9b3299e0 2 parents 9669184 + a9333c9
@oliamb oliamb authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/guard/compass.rb
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
Please sign in to comment.
Something went wrong with that request. Please try again.