porter icon indicating copy to clipboard operation
porter copied to clipboard

Status indicator

Open MrMooky opened this issue 3 years ago • 2 comments

Not a bug, but it would be nice to have some sort of "status indicator" that shows that Porter is currently running. Essentially what you have when you run php artisan schedule:work, so you have an open process and know right away when the terminal is open.

Right now, I don't know if Porter is running or not.

MrMooky avatar Dec 27 '22 06:12 MrMooky

@MrMooky You can run porter status to see the status of all of your processes. If you want to monitor the state, you can do something like watch -n1 porter status to monitor the status, auto-updating every 1 second.

When I'm actively developing in a project, I run porter restart && watch -n1 porter status to ensure that porter is running (and on the latest version of porter.yml) and then to monitor the status.

Hopefully that helps you!

squatto avatar Dec 28 '22 03:12 squatto

Thanks for the suggestion @MrMooky and for the tip @squatto, much appreciated! :) I am thinking about adding an --no-deamon flag to the porter start command, so the process doesn't detach. Let me see if I can get this to work.

PhiloNL avatar Dec 29 '22 09:12 PhiloNL