From e8823e798bcbd2c9385cb26d2cc3778f4815c015 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 3 May 2013 22:26:37 -0500 Subject: [PATCH] Added clear compile pre update script. --- composer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 53668d48..81c5ebf7 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,12 @@ ] }, "scripts": { - "post-update-cmd": "php artisan optimize" + "pre-update-cmd": [ + "php artisan clear-compiled" + ], + "post-update-cmd": [ + "php artisan optimize" + ] }, "config": { "preferred-install": "dist"