diff --git a/bin/setup b/bin/setup index c31e9ab26f..51eb039b61 100755 --- a/bin/setup +++ b/bin/setup @@ -32,6 +32,7 @@ FileUtils.chdir APP_ROOT do puts "\n== Preparing database, removing old logs and tempfiles ==" system! "bin/rails db:prepare log:clear tmp:clear" system! "rm -f tmp/capybara/screenshots/*.png" + system! "rm -f tmp/javascripts/*.js" puts "\n== Removing any precompiled assets that would be out of date now ==" system! "rm -rf public/assets/"