111
This commit is contained in:
@@ -108,7 +108,8 @@ class FileChangeCustomProcess extends Command
|
|||||||
2 => STDERR,
|
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);
|
$this->channel->push(1);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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';
|
|
||||||
Reference in New Issue
Block a user