fix(core): disable plugin isolation by default on windows for now (#27210)
This commit is contained in:
parent
cc0dff2b9c
commit
f19354419b
@ -29,6 +29,7 @@ import {
|
|||||||
isAggregateCreateNodesError,
|
isAggregateCreateNodesError,
|
||||||
} from '../error-types';
|
} from '../error-types';
|
||||||
import { IS_WASM } from '../../native';
|
import { IS_WASM } from '../../native';
|
||||||
|
import { platform } from 'os';
|
||||||
|
|
||||||
export class LoadedNxPlugin {
|
export class LoadedNxPlugin {
|
||||||
readonly name: string;
|
readonly name: string;
|
||||||
@ -153,7 +154,9 @@ export async function loadNxPlugins(
|
|||||||
|
|
||||||
const loadingMethod =
|
const loadingMethod =
|
||||||
process.env.NX_ISOLATE_PLUGINS === 'true' ||
|
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
|
? loadNxPluginInIsolation
|
||||||
: loadNxPlugin;
|
: loadNxPlugin;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user