diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index be72d5e..114f836 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -113,7 +113,7 @@ class HotReload extends AbstractProcess } $this->reloading = true; - file_put_contents('php://stdout', 'reloading server, please waite.' . PHP_EOL, FILE_APPEND); + di(StdoutLogger::class)->println('reloading server, please waite.'); $this->clear(); di(ServerInterface::class)->reload();