Skip to content

Commit 3614e9a

Browse files
authored
Fix Vagrant failure to sync dangling symlinks (mastodon#28101)
Co-authored-by: Filippo Giunchedi <[email protected]>
1 parent ad68686 commit 3614e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
174174
if config.vm.networks.any? { |type, options| type == :private_network }
175175
config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'actimeo=1']
176176
else
177-
config.vm.synced_folder ".", "/vagrant"
177+
config.vm.synced_folder ".", "/vagrant", type: "rsync", create: true, rsync__args: ["--verbose", "--archive", "--delete", "-z"]
178178
end
179179

180180
# Otherwise, you can access the site at http://localhost:3000 and http://localhost:4000 , http://localhost:8080

0 commit comments

Comments
 (0)