diff --git a/CHANGELOG.md b/CHANGELOG.md index d18d5322c..8bd930e65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ BUG FIXES: - core: Adding a box from a network share on Windows works again. [GH-3279] - commands/rsync-auto: Interrupt exits properly. [GH-3552] + - commands/rsync-auto: Run properly on Windows. [GH-3547] - providers/virtualbox: VirtalBox detection works properly again on Windows when the `VBOX_INSTALL_PATH` has multiple elements. [GH-3549] - provisioners/salt: Always copy keys and configs on provision. [GH-3536] diff --git a/plugins/synced_folders/rsync/command/rsync_auto.rb b/plugins/synced_folders/rsync/command/rsync_auto.rb index c18c600f3..c9d82a969 100644 --- a/plugins/synced_folders/rsync/command/rsync_auto.rb +++ b/plugins/synced_folders/rsync/command/rsync_auto.rb @@ -2,8 +2,6 @@ require "log4r" require 'optparse' require "thread" -require "listen" - require "vagrant/action/builtin/mixin_synced_folders" require "vagrant/util/busy" require "vagrant/util/platform" @@ -13,9 +11,10 @@ require_relative "../helper" # This is to avoid a bug in nio 1.0.0. Remove around nio 1.0.1 if Vagrant::Util::Platform.windows? ENV["NIO4R_PURE"] = "1" - require "listen" end +require "listen" + module VagrantPlugins module SyncedFolderRSync module Command