Fixing endless regenration loop by downgrading directory watcher