Skip to content

Commit d9d08eb

Browse files
committed
fix: Resolve absolute path for start action
1 parent 4d4db83 commit d9d08eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

actions/start.action.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ export class StartAction extends BuildAction {
154154
outputFilePath = join(outDirName, entryFile);
155155
}
156156

157+
// resolve to real file path
158+
outputFilePath = require.resolve(outputFilePath);
159+
157160
let childProcessArgs: string[] = [];
158161
const argsStartIndex = process.argv.indexOf('--');
159162
if (argsStartIndex >= 0) {

0 commit comments

Comments
 (0)