File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,14 @@ SocketCluster.prototype._init = function (options) {
222222 process . stdin . on ( 'error' , function ( err ) {
223223 self . noticeHandler ( err , { type : 'master' } ) ;
224224 } ) ;
225- process . stdin . resume ( ) ;
226- process . stdin . setEncoding ( 'utf8' ) ;
225+
226+ /*
227+ To allow inserting blank lines in console on Windows to aid with debugging.
228+ */
229+ if ( / ^ w i n / . test ( process . platform ) ) {
230+ process . stdin . resume ( ) ;
231+ process . stdin . setEncoding ( 'utf8' ) ;
232+ }
227233
228234 self . _start ( ) ;
229235} ;
Original file line number Diff line number Diff line change 11{
22 "name" : " socketcluster" ,
33 "description" : " SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances." ,
4- "version" : " 0.9.27 " ,
4+ "version" : " 0.9.28 " ,
55 "homepage" : " https://github.com/topcloud/socketcluster" ,
66 "contributors" : [
77 {
1515 },
1616 "dependencies" : {
1717 "iocluster" : " >= 1.1.2" ,
18- "loadbalancer" : " >= 0.9.15 " ,
18+ "loadbalancer" : " >= 0.9.16 " ,
1919 "optimist" : " 0.6.1" ,
2020 "socketcluster-server" : " >= 0.9.25" ,
2121 "wrench" : " 1.5.8"
You can’t perform that action at this time.
0 commit comments