Can i run multiple command with artisan serve laravel?

1.3k views Asked by At

Is it possible to run some other arrtisan command when we run php artisan serve . at the same time ? Is there any way to do that?

2

There are 2 answers

1
Mhluzi Bhaka On BEST ANSWER

You can run multiple commands separated by a semi-colon.

For example:

php artisan view:clear; php artisan route:clear; php artisan cache:clear; php artisan config:clear 

Would that help?

1
Kanhai Patel On

You need to setup supervisor on the server. It will start the queue:work for you. It can also run multiple executions of same commands.