Can we have the default be to restart Valet if it is installed?
Trying this project out today to see if it will work for me switching between PHP versions. However, I use Valet and find that I need to specify -c=valet to make sure Valet is restarted.
Is there a reason for this? If not, if I provided a way to either make restarting Valet happen by default or by some other means (env config values, etc) would that be accepted?
Hello @simensen.
On the contrary i use neither apache and valet and find that having to add flags for excluding stuff i don't use is cumbersome. Flags for other optional programs should be inclusive instead of exclusive imho.
I agree that the fact i have to explicitly "--skip" valet while you have to explicitly switch "--config" for it, sounds kind of counter intuitive.
Maybe what one could do is detects if commands for valet, apache, ... and such exists and restart those services automatically.