#NEWLINE# def watcher( command , files ) : #NEWLINE# #INDENT# 'Run ``command`` if any file in ``files`` changes.' #NEWLINE# while True : #NEWLINE# #INDENT# if timecheck ( files ) : #NEWLINE# #INDENT# os . system ( command ) #NEWLINE# #UNINDENT# time . sleep ( 1 )