Why is it when I install ionic-box (for Ionicframework) it's not syncing in my folder? I added this line
config.vm.synced_folder "projects", "/vagrant_projects"
to Vagrantfile but it's not working. i still need to create manually the folder vagrant_projects
in home/vagrant
directory which I thought will be create automatically when creating/installing ionic-box.
I already added a new project inside vagrant_projects
but i noticed it is not reflecting in the host folder projects
.
BtW, I created the folder projects
inside the directory where i extract the Vagrantfile
.
Here's my reference: http://www.sitepoint.com/ionic-box-vagrant-configuration-hybrid-mobile-apps/ and http://java.dzone.com/articles/getting-started-building-0
config.vm.synced_folder "projects", "/vagrant_projects" will create vagrant_projects folder at / not home/vagrant. So the path of your folder vagrant_projects will be /vagrant_projects not home/vagrant/vagrant_projects.
Your configuration is correct just login to your vm via vagrant ssh and execute following command
ls /vagrant_projects
you should be able to see your synced data now.