From f12ee186ee836aba00f779259c3c35046f1028c7 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 8 Mar 2023 10:17:35 +1100 Subject: [PATCH] Speed up setup script when restarting rails --- bin/setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/setup b/bin/setup index 4e0b9a4f76..976ae4365c 100755 --- a/bin/setup +++ b/bin/setup @@ -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