aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-24 10:01:33 +0200
committeruser <user@clank>2026-08-24 10:01:33 +0200
commit38a7506c3013fc6197cfbe657678a50ceb992bff (patch)
tree6af66f2b19887b2364b2a036c814315e09b23d00 /include
parentmake vendor: no xcframework, a CLT-only xcodebuild is a stub (diff)
downloadslosh-38a7506c3013fc6197cfbe657678a50ceb992bff.tar.gz
slosh-38a7506c3013fc6197cfbe657678a50ceb992bff.tar.xz
slosh-38a7506c3013fc6197cfbe657678a50ceb992bff.zip
slosh: the config watcher speaks kqueue on macOS
There is no inotify to port to, so the watcher grows a second native backend: kqueue's EVFILT_VNODE, feeding the same pollable fd that server_run() already watches. Vnode events are per-inode, so each config file is watched twice -- via its directory (catching the temp-file-then-rename most editors do, and files appearing for the first time) and via the file itself (catching in-place rewrites). Either event triggers the same debounced re-read as on Linux, which re-registers the watches and so survives the rename swapping the inode out from under us.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions