lib/guard/sprockets2.rb in guard-sprockets2-0.0.5 vs lib/guard/sprockets2.rb in guard-sprockets2-0.0.6
- old
+ new
@@ -25,10 +25,10 @@
end
protected
def compile_assets
- @compiler.clean
+ @compiler.clean unless options[:clean] == false
print "Compiling assets... " unless ENV["GUARD_ENV"] == "test"
successful = true
time_taken = time do
successful = @compiler.compile
end
\ No newline at end of file