brew-php-switcher icon indicating copy to clipboard operation
brew-php-switcher copied to clipboard

Can we have the default be to restart Valet if it is installed?

Open simensen opened this issue 8 years ago • 1 comments

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?

simensen avatar Dec 11 '17 17:12 simensen

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.

tiretdusix avatar Oct 15 '20 14:10 tiretdusix