Skip to content

Commit f5f2d44

Browse files
Merge pull request #2228 from colinhacks/resolve-entry
fix: Resolve absolute path for `start` action
2 parents 671e5d4 + 106e1a8 commit f5f2d44

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)