AveVlad/gulp-connect — pull request #80 by xusiyuan841028 (2014-11-02 19:02:03+00:00)
Title: Make all connections closed before close the server

For fix issue https://github.com/AveVlad/gulp-connect/issues/79

When enable livereload option, some connections are not closed before close server. As a result, the server can't be closed successfully and the 'close' event is not emitted. The stopServer() function is called twice, but the stoped variable has not to be set to true. Finally, server.close() are called twice and the error appears.