diff --git a/lib/core/processes/processLauncher.js b/lib/core/processes/processLauncher.js index 6f491514..dc79df32 100644 --- a/lib/core/processes/processLauncher.js +++ b/lib/core/processes/processLauncher.js @@ -15,7 +15,7 @@ class ProcessLauncher { * @return {ProcessLauncher} The ProcessLauncher instance */ constructor(options) { - this.name = path.basename(options.modulePath); + this.name = options.name || path.basename(options.modulePath); if (this._isDebug()) { const childOptions = {stdio: 'pipe', execArgv: ['--inspect-brk=' + (60000 + processCount)]};