Skip to content

Commit b15d9d5

Browse files
authored
fix: windows builder support (#16)
closes #14
1 parent be188ca commit b15d9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nx/src/builders/build/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function runBuilder(options: BuildBuilderSchema, context: ExecutorContext
8787
nsOptions.push(fileReplacements.join(','));
8888
}
8989
}
90-
const child = childProcess.spawn('ns', nsOptions, {
90+
const child = childProcess.spawn(/^win/.test(process.platform) ? 'ns.cmd' : 'ns', nsOptions, {
9191
cwd: projectCwd,
9292
stdio: 'inherit'
9393
});

0 commit comments

Comments
 (0)