Wondering what lib you guys are using for cross platform file watching/monitor. e.g. notify user when a file is changed, removed (becomes “new” again)
Phil
Wondering what lib you guys are using for cross platform file watching/monitor. e.g. notify user when a file is changed, removed (becomes “new” again)
Phil
Sublime itself has support for on_(pre|post)_saved listeners, though of course the files must be open.
I’ve only really used it on linux where it uses inotify (if I’m not mistaken) but watchdog has performed well for me so far for unopen files:
pypi.python.org/pypi/watchdog/
Do you want a python module to use in a plugin?