Skip to content

Commit

Permalink
Ensure the manifest gets written :|
Browse files Browse the repository at this point in the history
  • Loading branch information
airhorns committed Jul 5, 2012
1 parent 7703191 commit c7880e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sprockets/rails/static_compiler_extensions.rb
Expand Up @@ -9,7 +9,7 @@ def compile_with_workers
unless ::Rails.application.config.assets.parallel_precompile
return compile_without_workers
end

puts "Compiling in parallel."
worker_count = (::Rails.application.config.assets.precompile_workers || 4).to_i

paths = env.each_logical_path.reject {|logical_path| !compile_path?(logical_path)}
Expand Down Expand Up @@ -72,7 +72,7 @@ def compile_with_workers
end
end

manifest
write_manifest(manifest) if @manifest
end

alias_method_chain :compile, :workers
Expand Down

0 comments on commit c7880e2

Please sign in to comment.