Skip to content

Commit

Permalink
Improve serve via install
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Nov 5, 2024
1 parent 058d5a8 commit ebd1336
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ public function handle(): void
$shouldPromptForServe = ! $withoutInteraction && ! $this->option('force');

if ($shouldPromptForServe && confirm('Would you like to start the NativePHP development server', false)) {
$this->call('native:serve', ['--installer' => $installer]);
$this->call('native:serve', [
'--installer' => $installer,
'--no-dependencies',
'--no-interaction' => $withoutInteraction
]);
}

outro('NativePHP scaffolding installed successfully.');
Expand Down

0 comments on commit ebd1336

Please sign in to comment.