2 ms·
How do you watch for file system changes on Linux? Spinning loop? On Windows you can register a handler/callback, is that available in Linux?
by linkregister 9y ago
How do you watch for file system changes on Linux? Spinning loop?
On Windows you can register a handler/callback, is that available in Linux?
- adamtulinius 9y agoCheck out inotify (built into the kernel).
- conanbatt 9y agoI remember we tried to use something native like inotify, but it didnt work for vagrant or something. I ended up using the Listen gem.