def watcher(command, files):
    while True:
        if timecheck(files):
            os.system(command)
        time.sleep(1)
Run ``command`` if any file in ``files`` changes.
dataset/ETHPy150Open mozilla/addons-server/docs/watcher.py/watcher