From f142919cd11d0946179bd454e215c548bb1b4baa Mon Sep 17 00:00:00 2001 From: Peter Papp Date: Tue, 16 Mar 2021 14:33:01 +0100 Subject: [PATCH] dispatch jobs after demo data was generated --- app/Console/Commands/SetupDevEnvironment.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Console/Commands/SetupDevEnvironment.php b/app/Console/Commands/SetupDevEnvironment.php index 1e8a80e6..888fccc4 100644 --- a/app/Console/Commands/SetupDevEnvironment.php +++ b/app/Console/Commands/SetupDevEnvironment.php @@ -79,6 +79,11 @@ class SetupDevEnvironment extends Command $this->info('Clearing application cache...'); $this->clear_cache(); + $this->info('Dispatching jobs...'); + $this->call('queue:work', [ + '--stop-when-empty' => true, + ]); + $this->info('Everything is done, congratulations! 🥳🥳🥳'); }