Spotlight search does not index new files and applications
Hello everyone!
So, a quick backstory: I'm still using my MacBook Pro 2015 and already replaced the battery. Since then configd and powerd are occasionally acting up when on battery mode. Which led me to believe that there are some configurations/things I could try that help to prevent this. Which brings me to this topic:
One thing I tried was to disable Spotlight. First manually, then via the command `sudo mdutil -i off`. As it didn't do anything, I set it back to `on`.
However, now whenever I add new apps to the `/Application/` folder, those won't be indexed. Neither with Spotlight itself nor with Alfred (which I suppose just reuses the index of Spotlight)
Does anyone know how I can fix this and/or better debug this? I am suspecting that the indexing stops due many files (e.g. a ton of multiple node_modules folders)
Any help would be great :) thank you!
MacBook Pro 15″, macOS 12.7