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 dcac84f commit 8db1118Copy full SHA for 8db1118
src/reporters/bars.js
@@ -1,3 +1,4 @@
1
+import Consola from 'consola';
2
import draftLog from 'draftlog';
3
import chalk from 'chalk';
4
import prettyTime from 'pretty-time';
@@ -19,13 +20,18 @@ export default class BarsReporter {
19
20
21
compiling() {
22
if (!globalConsole.draft) {
- draftLog.into(globalConsole);
23
+ draftLog(globalConsole);
24
}
25
26
+ Consola.pause();
27
globalConsole.log();
28
this.drafts = [globalConsole.draft(), globalConsole.draft()];
29
30
31
+ done() {
32
+ Consola.resume();
33
+ }
34
+
35
compiled(context) {
36
this._render(context);
37
0 commit comments