Comparing version 2.4.0 to 2.4.1
@@ -394,4 +394,5 @@ const cluster = require('cluster'), | ||
// it should be here so that every worker can receive the same debugger port after restarting | ||
this._master.setup({inspectPort: this.inspectPort}) | ||
if (this.inspectPort) { | ||
this._master.setup({inspectPort: this.inspectPort}) | ||
} | ||
/** @private */ | ||
@@ -398,0 +399,0 @@ this._worker = cluster.fork({ |
{ | ||
"name": "luster", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Node.js cluster wrapper", | ||
@@ -5,0 +5,0 @@ "main": "./lib/luster.js", |
88562
2234