alias run="(trap 'kill 0' SIGINT; php artisan serve & npm run dev)"
Using this alias, you can simultaneously start a PHP dev server and run the Vite dev server. Put it on the bottom of your ~/.zshrc and run ‘run’
alias run="(trap 'kill 0' SIGINT; php artisan serve & npm run dev)"
Using this alias, you can simultaneously start a PHP dev server and run the Vite dev server. Put it on the bottom of your ~/.zshrc and run ‘run’