Do you want to request a feature or report a bug?
Feature
What is the current behavior?
node_modules folders are indexed by Spotlight on macOS
What is the expected behavior?
node_modules folders are (possibly optionally) excluded from indexing
This can be done by putting a .metadata_never_index in node_modules whenever the folder is created.
This may not work (it didn't work for me?)
Another way is to create node_modules.noindex, and symlink node_modules to it. Alternatively, figure out a way to programmatically add to the list of Spotlight exclusions. Looks like I was holding it wrong.
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
node_modules folders are indexed by Spotlight on macOS
What is the expected behavior?
node_modules folders are (possibly optionally) excluded from indexing
This can be done by putting a
.metadata_never_indexin node_modules whenever the folder is created.This may not work (it didn't work for me?)Looks like I was holding it wrong.Another way is to create node_modules.noindex, and symlink node_modules to it. Alternatively, figure out a way to programmatically add to the list of Spotlight exclusions.