'Folders are not synchronized in Vagrant box

Vagrant stopped synchronising my folders. Homestead.yaml maps folders like this:

folders:
- map: ~/my-folder
  to: /home/vagrant/my-folder
  1. I listed all boxes and removed all existing ones.

  2. I re-installed the one I need:

    vagrant init laravel/homestead

After the installation, when I vagrant up:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' version '12.0.0' is up to date...
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

I also called vagrant provision but no luck. I can login:

vagrant ssh

But folders are not there. What am I missing?



Solution 1:[1]

Try running

vagrant reload --provision

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 josezenem