ConEmu (Cmder) quick question

Posted 11 months ago by francoboy7

Hi guys

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

and

npm run watch

I tried :

alias test=php artisan serve &t npm run watch

also

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.

Please sign in or create an account to participate in this conversation.