Skip to content

Commit

Permalink
feat(core): load root .env files on daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 11, 2024
1 parent 2cb43ca commit b32f131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/nx/src/daemon/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { DaemonProjectGraphError } from '../daemon-project-graph-error';
import { ProjectGraphError } from '../../project-graph/project-graph';

const DAEMON_ENV_SETTINGS = {
...process.env,
NX_PROJECT_GLOB_CACHE: 'false',
NX_CACHE_PROJECTS_CONFIG: 'false',
};
Expand Down Expand Up @@ -402,7 +401,7 @@ export class DaemonClient {
detached: true,
windowsHide: true,
shell: false,
env: DAEMON_ENV_SETTINGS,
env: { ...process.env, ...DAEMON_ENV_SETTINGS },
}
);
backgroundProcess.unref();
Expand Down

0 comments on commit b32f131

Please sign in to comment.