FIXME: custom ELECTRON_RUN_AS_NODE with node worker

This commit is contained in:
deepak1556
2022-01-17 19:26:30 +09:00
parent d9e57b7aec
commit 7b48fa3732

View File

@@ -51,7 +51,7 @@ class ExtensionHostProcess extends Disposable {
const sw = StopWatch.create(false);
this._process = fork(
FileAccess.asFileUri('bootstrap-fork', require).fsPath,
['--type=extensionHost', '--skipWorkspaceStorageLock'],
['--type=extensionHost', '--skipWorkspaceStorageLock', '--ms-enable-electron-run-as-node'],
mixin({ cwd: cwd() }, opts),
);
const forkTime = sw.elapsed();