Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ng-dev/utils/version-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function ngDevVersionMiddleware() {
export async function verifyNgDevToolIsUpToDate(workspacePath: string): Promise<boolean> {
// The placeholder will be replaced by the `pkg_npm` substitutions.
const localVersion = `0.0.0-{SCM_HEAD_SHA}`;
if (localVersion === ('0.0.0-{{BUILD_SCM_COMMIT_SHA}}' as string)) {
if (!!process.env['LOCAL_NG_DEV_BUILD']) {
Log.debug('Skipping ng-dev version check as this is a locally generated version.');
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion tools/local-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ bazelCommand=${BAZEL:-"pnpm bazel"}

# Execute the built ng-dev command in the current working directory
# and pass-through arguments unmodified.
${ngDevBinFile} ${@}
LOCAL_NG_DEV_BUILD=1 ${ngDevBinFile} ${@}
Loading