arjun-g / vs-swagger-viewer

Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
MIT License
170 stars 47 forks source link

LOCAL WEB SERVER NOT WORKING TIME TO TIME #33

Closed liguori closed 6 years ago

liguori commented 6 years ago

Hello, i am using the preview in browser with the setting: "swaggerViewer.previewInBrowser": true,

At the beginning is working very good but sometime (very often and i don't know when exactly) it look like the local web serve that hosts the Swagger UI stops to work.

This is the errore that i get from by browser ERR_CONNECTION_REFUSED

I try to give again the command "Preview Swagger" but it doesn't work.

I have to restart VS Code for make it working.

arjun-g commented 6 years ago

Give it a try now in the latest version. Some changes has been done on this.

liguori commented 6 years ago

Hello @arjun-g, it look like now is working very good, very stable and changes are real time (i don't have to save the file for preview it). Congratulation about the work has done on this release :)