This commit is contained in:
2021-11-05 01:01:13 +08:00
parent 2512044bc5
commit 8deea95fb8
2 changed files with 2 additions and 19 deletions
@@ -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);
});
-18
View File
@@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
putenv('SCAN_CACHEABLE=(true)');
$cwd = getcwd();
$dir = __DIR__ . '/../../../../../';
require_once $dir . 'kiri.php sw:server restart';