title: How to tell grep to ignore folders in Spacemacs project keyword/symbol search?
body: <p>In spacemacs you can <code>spc s p</code> to find keywords within your project, in my case Spacemacs uses grep as it is the first search tool it finds according to its <code>dotspacemacs-search-tools</code> configuration.</p>
  <p>My problem is that in projects where I have a folder with compiled javascript, Helm/Grep looks for said keyword within those folders, making Spacemacs either freeze or sometimes crash, how can I tell Helm (within the context of Spacemacs) to ignore such folders?</p>
  <p>Here is an example of how it looks like:
  <a href="https://i.stack.imgur.com/Pph1u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pph1u.png" alt="enter image description here" /></a></p>
  <p>I've tried looking for some clues in the help section of <code>(C-c ?)</code> but haven't found anything yet.</p>
  <p>Any help is appreciated :)</p>
  <p><strong>Edit/Update:</strong> Bahman's answer is in fact correct. Note however that in my case I had to also include a directory inside &quot;projectile-globally-ignored-directories&quot; configuration in order to work:</p>
  <p><a href="https://i.stack.imgur.com/zmlqX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zmlqX.jpg" alt="enter image description here" /></a></p>