Hide progress bar when we're not watching any tasks

This commit is contained in:
Justin SB
2014-09-19 16:04:29 -07:00
committed by Nick Martin
parent 9963a8bcf3
commit 5abc41222c

View File

@@ -256,7 +256,10 @@ _.extend(Console.prototype, {
var self = this;
var progress = self._watching;
if (!progress) return;
if (!progress) {
self.hideProgressBar();
return;
}
progress.addWatcher(function (state) {
//console.log(state);