From 5fbb98b93a3b3f60cc9d2646a6e75359e3c0ea2e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 26 Jan 2022 20:27:43 +0100 Subject: [PATCH] refactor: more obvious release building message (#360) Makes the release building spinner a little more helpful by indicating that this could take a few minutes. PR Close #360 --- ng-dev/release/publish/external-commands.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ng-dev/release/publish/external-commands.ts b/ng-dev/release/publish/external-commands.ts index 42c988cde..94b26ddb3 100644 --- a/ng-dev/release/publish/external-commands.ts +++ b/ng-dev/release/publish/external-commands.ts @@ -88,7 +88,9 @@ export async function invokeReleaseBuildCommand( // a different publish branch and the current `PATH` will point to the Yarn version // that invoked the release tool. More details in the function description. const yarnCommand = await resolveYarnScriptForProject(projectDir); - const spinner = new Spinner('Building release output.'); + // Note: We explicitly mention that this can take a few minutes, so that it's obvious + // to caretakers that it can take longer than just a few seconds. + const spinner = new Spinner('Building release output. This can take a few minutes.'); try { // Since we expect JSON to be printed from the `ng-dev release build` command,