Use a notification based directory monitoring based on the septag/dmon lirbary instead of periodically rescan the whole project's tree.