diff --git a/composer.json b/composer.json index 662fee8b..1e52360d 100644 --- a/composer.json +++ b/composer.json @@ -60,14 +60,16 @@ "scripts": { "post-install-cmd": [ "php artisan clear-compiled", - "php artisan optimize", + "php artisan optimize --force", + "php artisan config:cache", "chmod -R 755 storage" ], "pre-update-cmd": [ "php artisan clear-compiled" ], "post-update-cmd": [ - "php artisan optimize", + "php artisan optimize --force", + "php artisan config:cache", "chmod -R 755 storage" ], "post-create-project-cmd": [