Closed welcoMattic closed 6 years ago
valet start
also not really indicate nginx is really start. I got wrong config file setup in /Users/shiroamada/.valet/Nginx/mywebsite.dev
, but valet start still show it successfully started. But actually my nginx is not started. I need to sudo nginx
to check what's really goes wrong.
@shiroamada, sent a PR to fix your issue: https://github.com/laravel/valet/pull/268
It this command valet status
already implemented yet?
I cant findstatus
on the command list
It this command
valet status
already implemented yet?
No, however, valet is more verbose about errors occurring when re/starting nginx.
Nowadays you can run: brew services list
to get a status.
Closing; if this is re-suggested given the current state of things we can start a new discussion.
It this command
valet status
already implemented yet?No, however, valet is more verbose about errors occurring when re/starting nginx.
Nowadays you can run:
brew services list
to get a status.
what if brew services list shows nothing is running (but valet is running and working) is there some sort of permission disconnect or something that is going on? I confirmed my foo.test site is running but nginx and PHP show as stopped
I think it would be really nice to have this command. brew services list
doesn't explicitly say Valet, so we have to figure it out.
I'm considering adding this command to v4.
Here's what I'm thinking.
Valet isn't ever actually "running" or "not running". But, it can have a boolean type status: it can be "configured correctly with all its services running" or "something is wrong, whether a service not running, a configuration error, or Valet not installed at all".
Would that be helpful?
If so, I'm imagining it would check:
If so, it would return a positive return code, together with some nice graphics showing success.
If not, it would return a negative return code, together with the same graphics showing errors.
Having a valet status sommand would be really nice, especially if the output is less confusing than brew services list
.
(Here's what this looks like here; Valet is running without any problems even before valet start
, doing the full composer global update
> valet install
doesn't change anything to these outputs)
It would be nice to have a
valet status
command, to know if valet is currently started or stopped. With this kind of command we could call it from any menu-bar software like BitBar, and get a visual indication of valet status.