For syncing all folders in both direction, insert this into your Vagrantfile:
config.vm.synced_folder "my-project1", "/home/vagrant/my-project1", type: "rsync",
:rsync__exclude => ['my-project1/mini_project2/target,my-project1/mini_project2/target,my-project1/mini...