We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830cee8 commit 5f68338Copy full SHA for 5f68338
src/utils/shell.ts
@@ -65,9 +65,13 @@ export const runCommand = (
65
// even though the actual framework command might be outputting stuff
66
const pipeDataWithSpinner = (writeStream: NodeJS.WriteStream, chunk: string | Uint8Array) => {
67
// Clear the spinner, write the framework command line, then resume spinning
68
- spinner?.clear()
+ if (spinner?.isSpinning()) {
69
+ spinner.clear()
70
+ }
71
writeStream.write(chunk, () => {
- spinner?.spin()
72
73
+ spinner.spin()
74
75
})
76
}
77
0 commit comments