mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Remove precompiled assets on update
This commit is contained in:
@@ -33,6 +33,9 @@ FileUtils.chdir APP_ROOT do
|
||||
system! "bin/rails db:prepare log:clear tmp:clear"
|
||||
system! "rm -f tmp/capybara/screenshots/*.png"
|
||||
|
||||
puts "\n== Removing any precompiled assets that would be out of date now =="
|
||||
system! "rm -rf public/assets/"
|
||||
|
||||
puts "\n== Restarting application server =="
|
||||
# system! "bin/rails restart"
|
||||
# Faster to do it manually:
|
||||
|
||||
Reference in New Issue
Block a user