Speed up setup script when restarting rails

This commit is contained in:
Maikel Linke
2023-03-08 10:17:35 +11:00
parent 93ef95f58e
commit f12ee186ee

View File

@@ -32,5 +32,7 @@ FileUtils.chdir APP_ROOT do
system! "bin/rails log:clear tmp:clear"
puts "\n== Restarting application server =="
system! "bin/rails restart"
# system! "bin/rails restart"
# Faster to do it manually:
system! "touch tmp/restart.txt"
end