Skip to content

Commit 9963514

Browse files
committed
fix: patch up serve command on mac
1 parent fb23919 commit 9963514

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Commands/ServeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ protected function handle()
156156
} else {
157157
$this->info("\nHappy gardening 🍁\n");
158158

159-
if ($this->option('no-env-watch') || !file_exists(getcwd() . DIRECTORY_SEPARATOR . '.env') || !$this->hasInternetConnection()) {
159+
if ($this->option('no-env-watch') || $noConcurrent || !file_exists(getcwd() . DIRECTORY_SEPARATOR . '.env') || !$this->hasInternetConnection()) {
160160
sprout()->process($this->buildPhpServerCommand())->run();
161161
} else {
162-
sprout()->process($this->buildWatcherCommand())->run();
162+
sprout()->process(trim($this->buildWatcherCommand(), '"'))->run();
163163
}
164164
}
165165

0 commit comments

Comments
 (0)