shell to node to avoid high memory usage

This commit is contained in:
Sam 2017-03-09 17:05:55 -05:00
parent ab3faeb0f9
commit b68d08404d
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ task 'assets:precompile:before' do
puts "Purging temp files"
`rm -fr #{Rails.root}/tmp/cache`
if Rails.configuration.assets.js_compressor == :uglifier && !`which uglifyjs`.empty? && ENV['FORCE_NODE_UGLIFY']
if Rails.configuration.assets.js_compressor == :uglifier && !`which uglifyjs`.empty? && !ENV['SKIP_NODE_UGLIFY']
$node_uglify = true
end