Skip to content

Commit d60bb51

Browse files
SamVerschuerendevversion
authored andcommitted
docs: use proper workdir for tutorial and playground (angular#56063)
PR Close angular#56063
1 parent 3b35c4e commit d60bb51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adev/src/app/editor/node-runtime-sandbox.service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ export class NodeRuntimeSandbox {
385385
this.setLoading(LoadingStep.BOOT);
386386

387387
if (!this.webContainerPromise) {
388-
this.webContainerPromise = WebContainer.boot();
388+
this.webContainerPromise = WebContainer.boot({
389+
workdirName: 'angular',
390+
});
389391
}
390392
return await this.webContainerPromise;
391393
}

0 commit comments

Comments
 (0)