I have a really HUGE repo, and I work with relatively small library inside this repo. CMakeLists.txt is small it lists only files of my library and doesn't include external files.
Sometimes after build is complete CLion starts process of "Refreshing files" that cannot finish in 20-30 minutes (I quit CLion after this time). I'm not exactly sure, but it looks like CLion walks through each file of the repo.
Can I somehow tune refreshing files to skip files and directories not related to my library or completely disable it?