diff --git a/HotReload.php b/HotReload.php index 2f2425d..723bf43 100644 --- a/HotReload.php +++ b/HotReload.php @@ -41,6 +41,8 @@ class HotReload extends BaseProcess public function __construct(public Router $router) { on(OnWorkerStart::class, [$this->router, 'scan_build_route']); + + $this->forceFile = \config('reload.forceFile', false); } /**