I'm using Cmder as my terminal and I was wondering how to set up an alias to run these two command in one.
php artisan serve
npm run watch
I tried :
alias test=php artisan serve &t npm run watch
alias test=php artisan serve && npm run watch
However as php artisan serve keeps running when executed it never runs the other command.
I was thinking about using a "new tab" command to run php artisan serve then run npm watch in a new tab, but i'm kind of lost in all this. Any help is greatly appreciated.
Thanks a lot as always.