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 7052648 commit 7a04e2cCopy full SHA for 7a04e2c
lib/monitor/watch.js
@@ -108,13 +108,7 @@ function watch() {
108
});
109
110
return Promise.all(promises).then(function (res) {
111
- var total = res.reduce(function (acc, curr) {
112
- acc += curr;
113
- return acc;
114
- }, 0);
115
-
116
- var count = total.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
117
- utils.log.detail('watching ' + count + ' files');
+ utils.log.detail(`watching ${watchedFiles.length} file${watchedFiles.length === 1 ? '' : 's'}`);
118
return watchedFiles;
119
120
}
0 commit comments