Commit Graph

6 Commits

Author SHA1 Message Date
David Coppit
f1d26df840 Add support for using polling to detect changes.
Closes #4
2018-08-17 21:53:30 -04:00
David Coppit
67c5a43987 Don't hard-code the Python interpreter 2018-08-17 20:58:35 -04:00
David Coppit
1401a636bb Allow user env vars to override the config file 2017-04-02 22:46:48 -04:00
David Coppit
48a6348b05 Use subprocess.call for Python 3.4 compatibility 2017-04-02 22:03:36 -04:00
David Coppit
8deae24312 Fix error checking for undefined config values 2017-04-02 22:03:12 -04:00
David Coppit
7ed3d92e8b New implementation using Python and "watchdog"
This version collects the events in a separate thread, and doesn't gobble up events. So hopefully it's more robust, in
addition to being easier to read.

One downside of using the "watchdog" module is that it only exposes file/dir modification events. So if I ever want to
keep track of opened files, I'll have to call inotifywait again.
2017-04-01 23:23:05 -04:00