From f056410971bd862cb0120f9f826557b4917cf7da Mon Sep 17 00:00:00 2001 From: Amir Date: Mon, 7 Nov 2022 21:37:53 +0330 Subject: [PATCH] Update Start.php --- src/Commands/Server/Start.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Commands/Server/Start.php b/src/Commands/Server/Start.php index 94b76ce..c6ddebc 100644 --- a/src/Commands/Server/Start.php +++ b/src/Commands/Server/Start.php @@ -105,6 +105,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int foreach (array_diff(scandir($dir), ['.', '..']) as $file) { unlink("$dir/$file"); } + }else { + mkdir(storagePath('routes')); } /*