From 7c0eebad6b30e6576058f613eabb57cdb4cb1a93 Mon Sep 17 00:00:00 2001 From: Yiwei Ho <75478661+1weiho@users.noreply.github.com> Date: Fri, 18 Oct 2024 21:18:05 +0800 Subject: [PATCH] Replace `php artisan serve` with `composer run dev` (#362) --- src/NewCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 8ba4390..e6d1dbc 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -249,7 +249,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $url = $this->generateAppUrl($name); $output->writeln('➜ Open: '.$url.''); } else { - $output->writeln('php artisan serve'); + $output->writeln('composer run dev'); } $output->writeln('');