Hacker News new | ask | show | jobs
by xenadu02 54 days ago
If you're interested you can use kqueue on FreeBSD and Darwin to watch the inode for changes. Faster than a syscall, especially if all you need is a wakeup when it changes.