Skip to content

Instantly share code, notes, and snippets.

@yy
yy / monex.py
Last active November 4, 2020 01:49
MONitor multiple files & EXecute the given command.
#!/usr/bin/env python
# encoding: utf-8
"""
MONitor & EXecute
Yong-Yeol Ahn (http://yongyeol.com/)
This script monitors multiple files and executes the given command when
any of those files is changed.
"""