This commit is contained in:
2021-11-04 18:39:35 +08:00
parent 55727bb219
commit d036f730ca
@@ -58,6 +58,7 @@ class FileChangeCustomProcess extends Command
{
// TODO: Implement onHandler() method.
set_error_handler([$this, 'onErrorHandler']);
$this->dirs = Config::get('inotify', [APP_PATH . 'app']);
if (!extension_loaded('inotify')) {
$driver = Kiri::getDi()->get(Scaner::class, [$this->dirs, $this]);