swagger-socket icon indicating copy to clipboard operation
swagger-socket copied to clipboard

Gracefully Support Server Restart

Open darkfrog26 opened this issue 13 years ago • 0 comments

Many build environments allow the server to dynamically restart on code changes. This is a great help in increasing development efficiency, but it would appear as though SwaggerSocket does not like to gracefully restart. This should be as simple as providing cleanup functionality in the Servlet disposal method. For a test case of usage simply create an SBT web project and issue the command: "~;container:start; container:reload /" which will reload the container upon code change.

darkfrog26 avatar Oct 19 '12 14:10 darkfrog26