skeeto / emacs-web-server

Extensible Emacs HTTP 1.1 server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add way to check whether server is running?

NateEag opened this issue · comments

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.

Awesome. Thanks!