Skip to content

Commit

Permalink
Flush $stdout to force message visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin authored Jan 7, 2025
1 parent 093012b commit 6eaf955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/after_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6eaf955

Please sign in to comment.