As discussed in https://github.com/laravel/horizon/issues/1447, users may run php artisan horizon in a different environment and forget to configure the supervisors for this new environment. This feature warns if there are no supervisors configured for the current environment.
This PR implements:
Warning when no supervisor configuration is present;
Integration tests to check the warning;
Obs.
It's possible to warn from the MasterSupervisor output but I think the HorizonCommand is more appropriate.
As discussed in https://github.com/laravel/horizon/issues/1447, users may run
php artisan horizon
in a different environment and forget to configure the supervisors for this new environment. This feature warns if there are no supervisors configured for the current environment.This PR implements:
Obs.
It's possible to warn from the MasterSupervisor output but I think the HorizonCommand is more appropriate.