From 9044560093e5b9c43c7b643bf10ba58194fd9b18 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Tue, 2 Oct 2018 14:48:51 -0400 Subject: [PATCH] Use process name if it is provided --- lib/core/processes/processLauncher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]};