diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 5e642636..e41b7641 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -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]);