我在Vagrantfile中有这个:
config.vm.synced_folder ".", "/vagrant",
type: "rsync", rsync__auto: true, rsync__exclude: [".git/", "django/"]
+ 我在另一个标签页中运行 vagrant rsync-auto
。
对文件进行更改后,需要大约5秒钟才能通过vagrant同步。
有什么方法可以加速这个过程吗?我是为了使用webpack/hot-module-reloading而使用它。