3 ms·
If you're using OS X or Linux, you can create a `node_modules` symlink in the shared folder to a local guest directory. IIRC, for OS X, you must create the lin
by pygy_ 12y ago
If you're using OS X or Linux, you can create a `node_modules` symlink in the shared folder to a local guest directory.
IIRC, for OS X, you must create the link from the host. It works because `ln` doesn't check whether the destination of the link exists. So running
ln -s /home/vagrant/node_modules node_modules
in the shared folder from the host will create a link that is functional in the guest.
No idea for Linux hosts.