nicoverbruggen / phpmon

Lightweight, native Mac menu bar app that helps you manage multiple PHP installations, locate config files and more. Also interacts with Laravel Valet.

Home Page:https://phpmon.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Stop Valet Services" not working

pixolin opened this issue · comments

Describe the bug
If I click in PHP Monitor on First Aid & ServicesStop Valet Services, nothing happens.

Running valet stop in the terminal reports

Stopping php@8.0...
Stopping php...
Stopping nginx...
Valet services have been stopped.

as expected.

To Reproduce

  1. Go to First Aid & Services
  2. Click on Stop Valet Services
  3. Nothing happens. Indicators in PHP Monitor still show all services as active. However, Restart Services works as expected.

Expected behavior
Shut down services as valet stop does.

Required information

  • Did you consult the FAQ in the README? Yes
  • Did you try "Fix My Valet"? Yes
  • OS: MacOS Ventura 13.2 (Apple Silicon)
  • PHP Monitor version 5.7 (1030)

Additional context
App is so cool ❤️. However, sometimes I need to shut down Valet. 🥲

Thanks for reporting! I'll see what's causing this. I probably missed this with all of the rewrites 😅

As a workaround, you can also click on the checkmarks in the services section in the menu. (This toggles the services on/off, albeit one by one.)

I can confirm that the services shut down if I click the icons seperately.
(Hey, bettern than nothing. 😄)

For the sake of completeness:
Unfortunately, running brew doctor also didn't bring any change.

I found the issue, it was a silly refactor thing that I missed.

I made a new build! Please let me know if this build solved the problem (works on my system now): phpmon.zip