def loop(self, interval=0.1, async=False):
        while 1:
            self.update_files()
            for fid, file in list(self.files_map.iteritems()):
                self.readfile(file)
            if async:
                return
            time.sleep(interval)
Change the timestamp of parent DocType if the current one is a child to clear caches.
dataset/ETHPy150Open gmcquillan/firetower/firetower/util/log_watcher.py/LogWatcher.loop--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/core/doctype/doctype/doctype.py/DocType.change_modified_of_parent