fix(core): disable plugin isolation by default on windows for now (#27210)

This commit is contained in:
MaxKless 2024-07-30 19:45:55 +02:00 committed by GitHub
parent cc0dff2b9c
commit f19354419b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,6 +29,7 @@ import {
isAggregateCreateNodesError,
} from '../error-types';
import { IS_WASM } from '../../native';
import { platform } from 'os';
export class LoadedNxPlugin {
readonly name: string;
@ -153,7 +154,9 @@ export async function loadNxPlugins(
const loadingMethod =
process.env.NX_ISOLATE_PLUGINS === 'true' ||
(!IS_WASM && process.env.NX_ISOLATE_PLUGINS !== 'false')
(!IS_WASM &&
platform() !== 'win32' &&
process.env.NX_ISOLATE_PLUGINS !== 'false')
? loadNxPluginInIsolation
: loadNxPlugin;