live-server icon indicating copy to clipboard operation
live-server copied to clipboard

[Suggestion] Add way to kill specific running instances of live-server

Open n-ham opened this issue 4 years ago • 0 comments

Sometimes it's nice to start live-server and leave it running in the background for several websites at the same time. Currently there does not appear to be a good way to kill one of these background instances as they're all running as a process called node? It would be good if you could specify a port number for example and have the live-server instance serving a website on that port end.

The use case that has me wanting this is for my website generator Nift (https://nift.cc), users can add in to a pre serve script to start up live-server, but there's currently no good way to then kill just one instance of live-server without killing all running instances.

n-ham avatar Oct 08 '19 06:10 n-ham