From 6cbc6fbca3ac005b6af4cb404a875ea54f872aa6 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 22 Jan 2026 12:27:04 +1100 Subject: [PATCH] Remove precompiled assets on update --- bin/setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/setup b/bin/setup index 41f98b93d8..c31e9ab26f 100755 --- a/bin/setup +++ b/bin/setup @@ -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: