watchdog watch file

Skip to first unread message

Janis Heller

May 8, 2017, 6:40:29 AM5/8/17
to watchdog-python
Is there some documentation on how to use the watchdog to watch only one file for changes/edits?

I would need this to call some code, if a change / edit is made. Any code samples? Since I'm new to python, would be nice to have some, in the github repo I was unable to find some, related to this.

Jeffrey DeLeo

May 9, 2017, 12:49:09 PM5/9/17
to watchdog-python
See try using PatternMatchingEventHandler.
Reply all
Reply to author
0 new messages