This guide explains how to use build-files-monitor to efficiently monitor the filesystem for changes.
build-files-monitor