Skip to content

Commit

Permalink
fix(core): hide no file server process json log (#27626)
Browse files Browse the repository at this point in the history
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #27617

Co-authored-by: James Henry <james@henry.sc>
  • Loading branch information
2 people authored and FrozenPandaz committed Sep 26, 2024
1 parent 3297ee8 commit 77d8387
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nx/src/daemon/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function readDaemonProcessJsonCache(): Promise<DaemonProcessJson |
if (!existsSync(serverProcessJsonPath)) {
return null;
}
return await readJson(serverProcessJsonPath);
return readJsonSync(serverProcessJsonPath);
}

export function deleteDaemonJsonProcessCache(): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/daemon/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ export class DaemonClient {
output.error({
title:
err?.message ||
'Something unexpected went wrong when stopping the server',
'Something unexpected went wrong when stopping the daemon server',
});
}

Expand Down

0 comments on commit 77d8387

Please sign in to comment.