philosowaffle / vs-openapi-designer

OpenApi Designer Extension for VS Code
https://marketplace.visualstudio.com/items?itemName=philosowaffle.openapi-designer
GNU General Public License v3.0
15 stars 2 forks source link

Instability when launching/closing/updating the previewer #4

Closed philosowaffle closed 6 years ago

philosowaffle commented 6 years ago

There are a couple issues with the design that I think are now presenting as bugs:

  1. The server is not able to kill connections so the port cannot be reused, I've observed that this can cause the ui to not render until you land on a free port.
  2. The ports are saved in a dictionary tied to the file they represent so that in theory they can be reused, however, I think they may be being removed from that dictionary prematurely.
  3. In theory we should be able to just reuse the existing server:port. Investigate why that bit isn't working.
philosowaffle commented 6 years ago

PR