Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Commit 69f1847

Browse files
committed
fix: print hangon messages only every 20s
1 parent c0ed568 commit 69f1847

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/utils/install-dependencies.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ export async function installDependencies(
66
projectDirectory: string
77
): Promise<void> {
88
const internal = setInterval(() => {
9-
console.log("Hang on, packages are still being installed…");
10-
}, ms("5s"));
9+
console.log(
10+
"Hang on, packages are still being installed, your connection may be a bit slow…"
11+
);
12+
}, ms("20s"));
1113
await exec(`yarn install`, { cwd: projectDirectory });
1214
clearInterval(internal);
1315
}

0 commit comments

Comments
 (0)