Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status indicator #2

Open
MrMooky opened this issue Dec 27, 2022 · 2 comments
Open

Status indicator #2

MrMooky opened this issue Dec 27, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@MrMooky
Copy link

MrMooky commented Dec 27, 2022

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.

@squatto
Copy link
Contributor

squatto commented Dec 28, 2022

@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!

@PhiloNL
Copy link
Contributor

PhiloNL commented Dec 29, 2022

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 PhiloNL added the enhancement New feature or request label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants