On Sun, Dec 22, 2024 at 10:44 AM Jakub Zelenka <bu...@php.net> wrote:

> Thinking about it, there might be a possibility to address it (at least on
> Linux) using fanotify. Not sure about other platforms but maybe there are
> some solutions to address it. Also it might get a bit complex and not sure
> how much the solution is viable.
>

For FrankenPHP, we successfully use https://github.com/e-dant/watcher for
this kind of usage. It supports Linux (fanotify, notify, epoll...), macOS,
and Windows, and is very efficient.
It's a C++ library but with pure C bindings.

Best,

Reply via email to