Skip to content

Commit

Permalink
fix(core): disable plugin isolation by default on windows for now (#2…
Browse files Browse the repository at this point in the history
…7210)

(cherry picked from commit f193544)
  • Loading branch information
MaxKless authored and FrozenPandaz committed Jul 30, 2024
1 parent fd31d62 commit 5b4e42a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nx/src/project-graph/plugins/internal-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
isAggregateCreateNodesError,
} from '../error-types';
import { IS_WASM } from '../../native';
import { platform } from 'os';

export class LoadedNxPlugin {
readonly name: string;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 5b4e42a

Please sign in to comment.