No, Forge doesn't automatically do this, but it's an easy enough fix. All you have to do is add:
php artisan queue:restart
at the end of your deploy script and it will restart the queue on each deploy
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Does Forge restart all beanstalkd queue workers after new code is pushed? It seems the old code is cached and the workers tend to execute the old code until the queue workers are restarted. I don't see any new line being created in the deploy script automatically after creating a new queue worker. Do I have to add it manually? Any suggestion what that new line should be?
Please or to participate in this conversation.