Browse Source

Added clear compile pre update script.

Taylor Otwell 11 years ago
parent
commit
e8823e798b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      composer.json

+ 6 - 1
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"