Hacker News new | ask | show | jobs
by pygy_ 4378 days 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.