@DDPS is correct. I also agree that the simplest thing to do is to force a manual rescan when you’ve made library changes.
If you want to try to change the behavior, here’s a post I wrote a while back on how to do it with a startup task. Can’t promise that it works now, but it used to.