Skip to content

Commit

Permalink
Clear route cache after pilot:takeoff
Browse files Browse the repository at this point in the history
  • Loading branch information
clwilliams8 committed Dec 10, 2020
1 parent b217b94 commit 35b2842
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Console/Commands/PilotTakeoff.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public function handle()

// this will ensure the backendMiddleWare reruns and creates the new Pages
$this->call('cache:clear');

// this will ensure the Standard module routes are registered
$this->call('route:clear');
}

private function removeInitialLaravelFiles()
Expand Down

0 comments on commit 35b2842

Please sign in to comment.