0

Homestead.yaml

folders:
    - map: /Applications/MAMP/htdocs/code
      to:  /home/vagrant/code

  • Local directory : /Applications/MAMP/htdocs/code
  • Homestead directory : /home/vagrant/code

Everything is working perfectly beofore I reboot my computer, my homestead directory doesn't seem to sync with my local one anymore. They're missing completely.

  • I start my homestead VM , and SSH into it.
  • Then, I go into ~/code, and nothing there.

I tried to research into it, but people seem to have the same issue.

What is going on here ? How can I fix this ?

code-8
  • 54,650
  • 106
  • 352
  • 604

2 Answers2

0

In my local homestead directory, I run vagrant reload, I got this

enter image description here

and it works 100% for me.


vagrant reload : restarts vagrant machine, loads new Vagrantfile.

code-8
  • 54,650
  • 106
  • 352
  • 604
0

in your terminal Change directory to where your Homestead file was created and type "VAGRANT UP" lower case.

well it work for me