diff --git a/plugins/synced_folders/rsync/command/rsync_auto.rb b/plugins/synced_folders/rsync/command/rsync_auto.rb index f7a6b1ae7..3419cd9fe 100644 --- a/plugins/synced_folders/rsync/command/rsync_auto.rb +++ b/plugins/synced_folders/rsync/command/rsync_auto.rb @@ -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] diff --git a/templates/locales/en.yml b/templates/locales/en.yml index bf0e38141..67fae5ae5 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -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.