From 2c99a09122635d9355022ce215c5a7a8bfd14eca Mon Sep 17 00:00:00 2001 From: Mahmudul Hasan <21290646+bdlogicalerror@users.noreply.github.com> Date: Wed, 7 Apr 2021 09:52:03 +0600 Subject: [PATCH] Solve Crashing Server after Change the files https://github.com/laravel/octane/issues/105 --- src/Commands/Concerns/InteractsWithServers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Concerns/InteractsWithServers.php b/src/Commands/Concerns/InteractsWithServers.php index cf1c3de45..c55e8bd26 100644 --- a/src/Commands/Concerns/InteractsWithServers.php +++ b/src/Commands/Concerns/InteractsWithServers.php @@ -51,7 +51,7 @@ protected function runServer($server, $inspector, $type) $watcher->getIncrementalOutput()) { $this->info('Application change detected. Restarting workers…'); - $inspector->reloadServer(); + $inspector->reloadServer(request()->path); } usleep(500 * 1000);