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.
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.