From d9d08eb8a0572dbeb85ebe6a9883c2f6578d1c40 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 9 Aug 2023 12:32:37 -0700 Subject: [PATCH 1/2] fix: Resolve absolute path for start action --- actions/start.action.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actions/start.action.ts b/actions/start.action.ts index a87599a13..50ec5f639 100644 --- a/actions/start.action.ts +++ b/actions/start.action.ts @@ -154,6 +154,9 @@ export class StartAction extends BuildAction { outputFilePath = join(outDirName, entryFile); } + // resolve to real file path + outputFilePath = require.resolve(outputFilePath); + let childProcessArgs: string[] = []; const argsStartIndex = process.argv.indexOf('--'); if (argsStartIndex >= 0) { From 106e1a8a8a2c33d97c43ef3ea54ca08d2a392f52 Mon Sep 17 00:00:00 2001 From: Kamil Mysliwiec Date: Wed, 16 Aug 2023 09:44:10 +0200 Subject: [PATCH 2/2] Update actions/start.action.ts --- actions/start.action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/start.action.ts b/actions/start.action.ts index 50ec5f639..de6572b62 100644 --- a/actions/start.action.ts +++ b/actions/start.action.ts @@ -154,7 +154,7 @@ export class StartAction extends BuildAction { outputFilePath = join(outDirName, entryFile); } - // resolve to real file path + // Resolve to real file path outputFilePath = require.resolve(outputFilePath); let childProcessArgs: string[] = [];