Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
vagrant: Add parallels as a provider.
Aman88821b960a34
diff --git a/Vagrantfile b/Vagrantfileindex bca112395e6..ca374fbcb3b 100644--- a/Vagrantfile+++ b/Vagrantfile@@ -120,6 +120,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|vb.cpus = vm_num_cpusend+ config.vm.provider "parallels" do |prl, override|+ override.vm.box = "bento/ubuntu-18.04"+ override.vm.box_version = "202005.21.0"+ prl.memory = vm_memory+ prl.cpus = vm_num_cpus+ end+$provision_script = <<SCRIPTset -xset -ediff --git a/docs/development/setup-vagrant.md b/docs/development/setup-vagrant.mdindex a999ca1bebe..a65ebaf053a 100644--- a/docs/development/setup-vagrant.md+++ b/docs/development/setup-vagrant.md@@ -85,7 +85,8 @@ Jump to:(For a non-free option, but better performance, you can also use [VMWareFusion][vmware-fusion-dl] with the [VMWare Fusion Vagrant-plugin][vagrant-vmware-fusion-dl].)+plugin][vagrant-vmware-fusion-dl] or [Parallels Desktop][parallels-desktop-dl] as+a provider for Vagrant.)Now you are ready for [Step 2: Get Zulip code](#step-2-get-zulip-code).@@ -1026,6 +1027,7 @@ remove the `GUEST_CPUS` and `GUEST_MEMORY_MB` lines from[vbox-dl]: https://www.virtualbox.org/wiki/Downloads[vmware-fusion-dl]: https://www.vmware.com/products/fusion.html[vagrant-vmware-fusion-dl]: https://www.vagrantup.com/vmware/+[parallels-desktop-dl]: https://www.parallels.com/products/desktop/[install-advanced]: ../development/setup-advanced.md[rtd-git-guide]: ../git/index.md[rtd-testing]: ../testing/testing.mddiff --git a/tools/webpack b/tools/webpackindex a23d806a2e4..a2642e76ccb 100755--- a/tools/webpack+++ b/tools/webpack@@ -53,7 +53,7 @@ def build_for_dev_server(host: str, port: str, minify: bool, disable_host_check:for line in mounts:fields = line.split()if fields[1] == cwd:- inotify_broken = fields[2] in ["nfs", "vboxsf"]+ inotify_broken = fields[2] in ["nfs", "vboxsf", "prl_fs"]if inotify_broken:webpack_args.append('--watch-poll=1000')