diff --git a/src/SupportHotReloading.php b/src/SupportHotReloading.php index 6f54bf2..35c9796 100644 --- a/src/SupportHotReloading.php +++ b/src/SupportHotReloading.php @@ -109,7 +109,7 @@ public function route(): StreamedResponse $filesByTime[$file] = $time; } - usleep(250); + usleep(250000); // Every 5 seconds we send a ping to keep the connection alive if (! $lastPing || microtime(true) > ($lastPing + 5)) {