Add way to check whether server is running?
NateEag opened this issue · comments
Nate Eagleson commented
Just a minor feature request, and not really necessary.
I wanted this for a small toy I hacked up in my own config so I could know whether I needed to start the webserver or not.
It's easy to use httpd-start-hook
and httpd-stop-hook
to track this information externally to the httpd
package, but adding an httpd-running-p
function would make life a bit simpler for packages depending on this package.
Just a thought - do what you will with it.
Nate Eagleson commented
Awesome. Thanks!