I have an Ubuntu16.04 Host, Virtualbox 5.2.4, Vagrant 2.0.4, and Homestead-7 installed. I managed to successfully configure all of my drupal apps, and imported the db's, and configured the /etc/hosts
files. I am ready to edit my websites... except one major (newbie) problem. How do edit files on host, then immediately see the changes reflected on my guest machine hosting my website?
There was a suggestion to move my files/directories into the same folder as my Vagrantfile which I did, however that didn't seem to work. My Homestead.yaml structure is below:
folders:
- map: ~/Homestead/public_html/drupalsitefolder to: /public_html/drupalsitefolder type: "rsync" options: rsync__args: ["-v", "-a", "-h", "-r", "-u", "--delete", "-z"]
sites:
- map: drupalsite to: /public_html/drupalsite type: "apache" php: "7.1
However, after I edit & save a css file for example... the changes do NOT get reflected to the website being hosted by the guest. Sorry if this is a noobie question, but I certainly don't want to scp for every minor edit.
Can anyone give me advice on how to jump the last hurdle?
Thanks