title: How to ignore files from the Java Build in VSCode
body: <p>I have a <code>Java</code>/<code>Maven</code>/<code>Angular</code> Web project that includes a lot of static <code>node_modules</code> files.</p>
  
  <p>Whenever I start VSCode it starts refreshing the workspace:</p>
  
  <p><a href="https://i.stack.imgur.com/A0jpA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A0jpA.png" alt="enter image description here"></a></p>
  
  <p>which takes a long time mainly because of the node_module folder.</p>
  
  <p>I tried excluding it from VSCode by adding <code>**/node_modules/**</code> to VSCode settings, but it seems like the Java plugin doesn't care and still refreshes the whole <code>node_modules</code> folder.</p>
  
  <p>Is there any way to exclude it ?</p>
  
  <p>Thank you</p>