2 ms·
Looks like it uses hashlib to check the file for changes, which is a nice way to make it cross-platform compatible. For those who run on linux, you can use the
by ed25519FUUU 6y ago
Looks like it uses hashlib to check the file for changes, which is a nice way to make it cross-platform compatible.
For those who run on linux, you can use the inotify tools to set up a watch on a file (or directory or recursive directories). inotify uses kernel events and won't require re-reading and re-hashing the file.