How can i add a new site without running ?
homestead destroy
homestead up
Im using Laravel Homestead version 2.0.13
When i add a new site, i add the following to my homestead.yaml file
folders:
- map: ~/web/code
to: /code/websites
sites:
- map: laravel5.dev
to: /code/websites/laravel5/public
- map: anothersite.dev
to: /code/websites/anotherproject/public
I've added to my hosts file :
192.168.10.10 laravel5.dev
192.168.10.10 anothersite.dev
I then proceed to check the status of my machine using:
vagrant global-status
90be623 default virtualbox running /Users/user/.composer/vendor/laravel/homestead
I run vagrant provision 90be623 to provision my new site but sadly anothersite.dev still points to laravel5.dev
The only way i solve this is running homestead destroy and then homestead up. But this destroys my database.
When i run vagrant provision 90be623 i notice alot of times the appearance of:
==> default: stdin: is not a tty (In red)
Versus when i do homestead destroy and homestead up where everything is in green..
Thank you for reading this and helping :)