diff --git a/src/Entities/Concerns/HasUploader.php b/src/Entities/Concerns/HasUploader.php index fe34b3c..f688854 100644 --- a/src/Entities/Concerns/HasUploader.php +++ b/src/Entities/Concerns/HasUploader.php @@ -49,6 +49,7 @@ public function addAllMediaFromTokens($tokens = null, $collection = null) if (count($mediaIds) > 0 && Config::get('laravel-media-uploader.regenerate-after-assigning')) { Artisan::call('media-library:regenerate', [ '--ids' => implode(',', $mediaIds), + '--force' => true, ]); }