synced_folders/rsync: output directory under watch for rsync-auto
This commit is contained in:
parent
54e3351c8a
commit
c3d0903f85
|
@ -47,6 +47,16 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
|
||||
# Output to the user what paths we'll be watching
|
||||
paths.keys.sort.each do |path|
|
||||
paths[path].each do |path_opts|
|
||||
path_opts[:machine].ui.info(I18n.t(
|
||||
"vagrant.rsync_auto_path",
|
||||
path: path.to_s,
|
||||
))
|
||||
end
|
||||
end
|
||||
|
||||
@logger.info("Listening to paths: #{paths.keys.sort.inspect}")
|
||||
@logger.info("Listening via: #{Listen::Adapter.select.inspect}")
|
||||
callback = method(:callback).to_proc.curry[paths]
|
||||
|
|
|
@ -89,6 +89,8 @@ en:
|
|||
%{names}
|
||||
provisioner_cleanup: |-
|
||||
Running cleanup tasks for '%{name}' provisioner...
|
||||
rsync_auto_path: |-
|
||||
Watching: %{path}
|
||||
rsync_communicator_not_ready: |-
|
||||
The machine is reporting that it is not ready for rsync to
|
||||
communiate with it. Verify that this machine is properly running.
|
||||
|
|
Loading…
Reference in New Issue