From 6eaf95532d38ef04c64f4824df1bb706e0235f73 Mon Sep 17 00:00:00 2001 From: Brian Austin <13002992+brianjaustin@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:54:34 -0500 Subject: [PATCH] Flush $stdout to force message visibility --- lib/tasks/after_tasks.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tasks/after_tasks.rake b/lib/tasks/after_tasks.rake index 2a9875c6e76..e272ce1736b 100644 --- a/lib/tasks/after_tasks.rake +++ b/lib/tasks/after_tasks.rake @@ -348,7 +348,7 @@ namespace :After do end end - puts "Finished batch #{index + 1}" + puts "Finished batch #{index + 1}" && $stdout.flush sleep 10 end end @@ -381,7 +381,7 @@ namespace :After do end end - puts "Finished batch #{index + 1}" + puts "Finished batch #{index + 1}" && $stdout.flush sleep 10 end end @@ -411,7 +411,7 @@ namespace :After do end end - puts "Finished batch #{index + 1}" + puts "Finished batch #{index + 1}" && $stdout.flush sleep 10 end end