I'm running into a similar issue. If you open localhost and then start the server via the terminal, the server will stay open. Still looking for a better fix, but I hope this helps.