diff --git a/composer.json b/composer.json index a6ced5e2f92..0bd256f1e61 100644 --- a/composer.json +++ b/composer.json @@ -32,10 +32,8 @@ "php artisan clear-compiled", "php artisan optimize" ], - "pre-update-cmd": [ - "php artisan clear-compiled" - ], "post-update-cmd": [ + "php artisan clear-compiled", "php artisan optimize" ], "post-root-package-install": [