I recently added my node_modules
directory to version control per this answer's advice.
(By the way, I'm not necessarily of the opinion that adding node_modules
to version control is a good practice, but I'm trying to get a deployment working and I don't have anything else to try right now.)
My problem now is that every command I run is followed by about a five-second pause before I get my command prompt back. I assume that this is because I have an ~700MB node_modules
directory.
Is there a way to speed up ZSH or do I just have to live with this slowness if I decide to check in node_modules
?