Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5 - vendor:publish does not overwrite old files

Tags:

laravel-5

Hi I have a problem where Laravel 5's vendor:publish command does not override old package assets. Does anyone know if this is the correct behaviour or do I have to somehow delete the old previous version before I can publish?

regards

like image 558
Luke Snowden Avatar asked Feb 17 '15 19:02

Luke Snowden


1 Answers

Try using the --force flag.

$ php artisan vendor:publish --force
like image 180
Joren Van Hocht Avatar answered Oct 23 '22 22:10

Joren Van Hocht