Detecting file changes on macOS with kqueue — Vegard Stikbakke