def watch(no_compress):
 setup()
 import time
 compile_less()
 build(no_compress=True)
 while True:
  compile_less()
  if files_dirty():
   build(no_compress=True)
  time.sleep(3)

def watch ( no_compress ) : setup ( ) import time compile_less ( ) build ( no_compress = True ) while True : compile_less ( ) if files_dirty ( ) : build ( no_compress = True ) time . sleep ( 3 )
add a file to the watch list .