We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
serveCommand
1 parent 98b921d commit 1945614Copy full SHA for 1945614
runner/orchestration/executors/local-executor.ts
@@ -199,8 +199,11 @@ export class LocalExecutor implements Executor {
199
}
200
201
getServeCommand(): string {
202
- const flags = '--port 0';
+ if (this.config.serveCommand !== undefined) {
203
+ return this.config.serveCommand;
204
+ }
205
206
+ const flags = '--port 0';
207
// npm needs -- to pass flags to the command.
208
if (this.config.packageManager === 'npm') {
209
return `npm run start -- ${flags}`;
0 commit comments