We have a problem whereby Visual Studio inspects a node_modules
folder and causes a compilation error. This is a known problem and the easiest fix is to mark the folder as hidden.
That's fine but when new machines clone the repo, the folder gets restored as a normal folder and causes some head scratching when it breaks with a completely unhelpful error.
Is there a way to add something to make this folder stay hidden on new clones?