lib/barista.rb in barista-1.1.0 vs lib/barista.rb in barista-1.2.0
- old
+ new
@@ -181,10 +181,10 @@
def compile_file!(file, force = false, silence_error = false)
Compiler.autocompile_file file, force, silence_error
end
def compile_all!(force = false, silence_error = true)
- debug "Compiling all coffeescripts"
+ debug "Compiling all coffeescripts" if Barista.auto_compile?
Barista.invoke_hook :before_full_compilation
Framework.exposed_coffeescripts.each do |coffeescript|
Compiler.autocompile_file coffeescript, force, silence_error
end
debug "Copying all javascripts"