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)
watch and rebuild if necessary
dataset/ETHPy150Open frappe/frappe/frappe/build.py/watch