Permalink
Browse files

Return the server object, so you can close it if you want

  • Loading branch information...
1 parent e5f8445 commit a0f0c4605ee2c3ccf113525214b960a231803675 @kriszyp kriszyp committed Oct 24, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 start-node.js
View
@@ -21,4 +21,5 @@ exports.start = function(jsgiApp){
});
console.log("Listening on port " + port);
+ return server;
};

0 comments on commit a0f0c46

Please sign in to comment.