diff --git a/build-dependents.js b/build-dependents.js index fb53b404a1..d0cf7cade7 100755 --- a/build-dependents.js +++ b/build-dependents.js @@ -23,7 +23,7 @@ try { if (isDependent || changedProject === currentProject) { // Rebuild the current project - const command = `nx run-many --target=d --projects=${currentProject} --parallel=5`; + const command = `nx run-many --target=d --projects=${currentProject} --parallel=5 --no-cloud`; console.log(`Running command: ${command}`); execSync(command, { stdio: 'inherit' }); diff --git a/dev.sh b/dev.sh index 44ad4a48d0..19f7726e37 100755 --- a/dev.sh +++ b/dev.sh @@ -28,5 +28,5 @@ fi # Run nx commands with the selected or provided package name echo "Running commands for package: $PACKAGE_NAME" -nx run $PACKAGE_NAME:d --parallel=5 +nx run $PACKAGE_NAME:d --parallel=5 --no-cloud nx watch --all -- node ./build-dependents.js \$NX_PROJECT_NAME $(echo $PACKAGE_NAME) \ No newline at end of file