diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index d27dc84b..7305e6ed 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -29,8 +29,14 @@ class Inotify */ public function __construct(protected array $dirs, public HotReload $process) { - set_error_handler(fn() => function () { - }); + set_error_handler([$this, 'error']); + set_exception_handler([$this, 'error']); + } + + + public function error() + { + }