Ignoring node_modules folders in Dropbox

Now that Dropbox has finally added the ability to ignore folders inside the Dropbox folder it’s time to update the way I ignore node_modules folders.

Photo by Gabriel Heinzer on Unsplash

I used to simply keep my node_modules directories symlinked to an alternate location, however, recent changes in the way npm works have caused this to stop working as npm no longer allow this folder to be a symlink and will delete and recreate it…