Skip to content

Commit 1b12b39

Browse files
authored
fix(core): only run nx console background check if daemon is active (#33917)
1 parent fe0757c commit 1b12b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nx/bin/init-local.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function shouldDelegateToAngularCLI() {
125125

126126
async function ensureNxConsoleInstalledViaDaemon(): Promise<void> {
127127
// Only proceed if daemon is available
128-
if (!daemonClient.enabled()) {
128+
if (!daemonClient.enabled() || !(await daemonClient.isServerAvailable())) {
129129
return;
130130
}
131131

0 commit comments

Comments
 (0)