I’ve run into issues where file-watcher based test runners run the tests too soon (they trigger on prettier or some other tool rather than the actual save event I care about). I’ve prototyped a little tool in Zig to run commands in response to filenames pushed over a Unix socket that can be used in an emacs after-save hook or equivalent.
Show HN: A socket-based alternative to file watchers written in Zig | Heykuki News