News for hackers. Stuff that matters.
Re:Huge no. of files for Angular 2 by zuck9 on Tuesday August 02, 2016 @09:26AM (#12209739)
I used to `touch node_modules/.metadata_never_index` to prevent Spotlight from wasting disk cycles by indexing that stupid folder. After searching "In Praise of Idleness", it doesn't seem to prevent it. :/

Anyone knows how to prevent all node_modules folders from getting indexed by Spotlight?

Re:Huge no. of files for Angular 2 by neurostimulant on Tuesday August 02, 2016 @10:11AM (#12210046)
I ended up excluding the whole projects folder to prevent spotlight from indexing any source code. I never use spotlight to search any of my code anyway.
Re:Huge no. of files for Angular 2 by sotojuan on Tuesday August 02, 2016 @10:49AM (#12210341)
Just ignore your whole dev/code folder from Spotlight. It's not a good way to get to it anyway.
Re:Huge no. of files for Angular 2 by douche on Tuesday August 02, 2016 @10:59AM (#12210421)
Is there an indexer in any operating system that's worth the aggravation? Windows Explorer's is hot garbage, and I've never been real impressed with any of the ones in my various Linux distributions.

Old-school grepping or using Notepad++'s find in files feature is far away the best method I've come across, which is... kinda sad.

Re:Huge no. of files for Angular 2 by austinsharp on Tuesday August 02, 2016 @03:49PM (#12212791)
The indexing itself is great - I use Everything [1] heavily.

The client on the other hand? It's baaad.

[1] http://www.voidtools.com/

Re:Huge no. of files for Angular 2 by emodendroket on Wednesday August 03, 2016 @01:19PM (#12219668)
I like Agent Ransack on Windows; much faster than the regular search. I've never looked into how it works.