Windows Directory Monitor (WDM) is a library which can be used to monitor directories for changes.
conda install dnachun::rb-wdm