I used to install an npm project from github by doing
git clone http...my_project
npm install my_project
Instead of copying the contents of my_project
to my local node_modules
folder, it actually created a symlink from node_modules/my_project
to my_project
, then I could modify everything on my git cloned folder and it'd be on my project.
I believe this behavior changed in newer versions because it won't create the symlink anymore. It just copies the folder to node_modules
Is there a way to do it again?