diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index a527d980..f576d99e 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -108,7 +108,8 @@ class FileChangeCustomProcess extends Command 2 => STDERR, ]; - proc_open("php " . __DIR__ . "/watcher.php start", $descriptorspec, $pipes); + proc_open("php " . APP_PATH . "kiri.php", $descriptorspec, $pipes); + var_dump($pipes); $this->channel->push(1); }); diff --git a/kiri-engine/FileListen/watcher.php b/kiri-engine/FileListen/watcher.php deleted file mode 100644 index 38d8db2c..00000000 --- a/kiri-engine/FileListen/watcher.php +++ /dev/null @@ -1,18 +0,0 @@ -