From 541b9508e205cbfcf0d456900d28dec58e24d64b Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 11 Jun 2015 16:11:52 +0200 Subject: [PATCH] Update compiled locations --- src/Console/GeneratorCommand.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Console/GeneratorCommand.php b/src/Console/GeneratorCommand.php index 40e7b15..20112f8 100644 --- a/src/Console/GeneratorCommand.php +++ b/src/Console/GeneratorCommand.php @@ -76,9 +76,11 @@ class GeneratorCommand extends Command */ public function fire() { - if (file_exists($compiled = base_path() . '/bootstrap/compiled.php')) { + if (file_exists(base_path() . '/vendor/compiled.php') || + file_exists(base_path() . '/bootstrap/cache/compiled.php') || + file_exists(base_path() . '/storage/framework/compiled.php')) { $this->error( - 'Error generating IDE Helper: first delete bootstrap/compiled.php (php artisan clear-compiled)' + 'Error generating IDE Helper: first delete your compiled file (php artisan clear-compiled)' ); } else { $filename = $this->argument('filename');