I currently have this in my config to prevent the node_modules folder from being indexed:
".git", ".svn", ".sass-cache", "node_modules"
If I don’t, re-indexes uses 200-400% CPU for up to a couple of minutes (which surpises me since nothing in the node_modules folder usually changes). The issue is that while node_modules is generally not something I need indexed, I do like it in the sidebar as from time to time, I do go into that code. Is there there a way to omit a folder from indexing but have it show up in the sidebar?