Skip to content

Commit 11ce016

Browse files
committed
v0.9.28
1 parent 6ded9fe commit 11ce016

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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 (/^win/.test(process.platform)) {
230+
process.stdin.resume();
231+
process.stdin.setEncoding('utf8');
232+
}
227233

228234
self._start();
229235
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
{
@@ -15,7 +15,7 @@
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"

0 commit comments

Comments
 (0)