The same implementation works just fine on any BSD system provided it has a working FileWatcher implementation.