PyInotify
PyInotify copied to clipboard
add remove_watches to stop all watches
self cleaning by inonify may be not enough if you have an app, that use os.exec* to reload itself. In this case you may reach max_user_watches limit after some of such reloads