File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class ServeCommand extends Command
1010 {--p|port=5500 : Port to run Leaf app on}
1111 {--t|path? : Path to your app}
1212 {--s|host=localhost : Your application host}
13- {--c|no-concurrent ? : Run PHP server without Vite server}
13+ {--c|clean ? : Run PHP server without Vite server}
1414 {--w|no-env-watch? : Run PHP server without automatic .env file watching} ' ;
1515 protected $ description = 'Start the leaf development server ' ;
1616 protected $ help = 'Run your Leaf app on PHP \'s local development server ' ;
@@ -30,7 +30,7 @@ protected function handle()
3030 $ this ->path = $ this ->option ('path ' ) ?? getcwd () . DIRECTORY_SEPARATOR . 'public ' ;
3131 $ this ->host = $ this ->option ('host ' );
3232
33- $ noConcurrent = $ this ->option ('no-concurrent ' );
33+ $ noConcurrent = $ this ->option ('clean ' );
3434
3535 if ($ noConcurrent || (!$ redisDetected && !$ jobsDetected && !$ viteDetected )) {
3636 $ useConcurrent = false ;
@@ -213,7 +213,7 @@ protected function buildWatcherCommand()
213213 return "npx @leafphp/watcher --watch .env --exec " . escapeshellarg ($ phpCommand );
214214 }
215215
216- return "\" npx @leafphp/watcher --watch .env --exec \\\ "$ phpCommand\\\" \"" ;
216+ return "npx @leafphp/watcher --watch .env --exec \"$ phpCommand \"" ;
217217 }
218218
219219 /**
You can’t perform that action at this time.
0 commit comments