ATFutures / geoplumber

Serve geographic data from R and consume with scalable front end.
https://atfutures.github.io/geoplumber/
59 stars 7 forks source link

Add check before running npm_start (cross platform) #56

Closed layik closed 5 years ago

layik commented 5 years ago

Correct way of checking if something is running on port 3000 and then ..etc

layik commented 5 years ago

On Linux we can get/kill ps ID in various ways. This is not so easy on Windows, once we know how this can be done, then perhaps we could revisit this ticket. Adding such a feature must be available for both.

And...to start with, we could just leave this to the user. Everytime subsequent calls are made to npm_start user can just see that "something is already running" message from node.

Next commit should close this ticket.