diff --git a/packages/nx/src/hasher/task-hasher.ts b/packages/nx/src/hasher/task-hasher.ts index c6ee6231a6150..a3651aa26574a 100644 --- a/packages/nx/src/hasher/task-hasher.ts +++ b/packages/nx/src/hasher/task-hasher.ts @@ -743,6 +743,7 @@ class TaskHasherImpl { runtime, { windowsHide: true, + cwd: workspaceRoot, }, (err, stdout, stderr) => { if (err) {