watch_directories(): prevent directories from updating when their size or time changes, prevents cascaded remove and add of dependent files and directories