Commit Graph

25 Commits

Author SHA1 Message Date
Avital Oliver
5af5a98342 Hide springboard progress bar when complete
Fixes https://app.asana.com/0/802778796897/17391461309554

Apparently Console.enableProgressBar is written to do nothing if Console
is not in pretty mode.
2014-10-09 11:46:05 -07:00
Justin SB
88a836383b Embolden commands users should run 2014-10-06 14:04:20 -07:00
Justin SB
6307ace605 Start android emulator earlier in the run process 2014-10-03 15:28:00 -07:00
David Greenspan
9922283515 Disable progress bar when prompting
Can’t tell for sure if it works, but it ought to
2014-10-03 14:51:22 -07:00
Justin SB
c50bdca142 Check platform readiness on run & print errors appropriately 2014-10-03 08:07:45 -07:00
Justin SB
90a24c9bd8 Check for meteor avd 2014-10-01 15:18:38 -07:00
Justin SB
6be55e61bf Creating android --getready command 2014-10-01 14:42:30 -07:00
ekatek
c67de0830a merging from sqllite 2014-09-30 16:29:41 -07:00
David Greenspan
6a35e05ba3 Clear status message on enableProgressBar(false)
Motivated by `meteor shell` in Emacs shell-mode
2014-09-30 11:51:17 -07:00
David Greenspan
5e39040e41 Fix “status message mode”
It has to wait for _pretty to become true so that it doesn’t start displaying statuses too soon.

There are now explicitly three modes, one where _progressBar is defined, one where it isn’t but _inStatusMessageMode is true, and one where neither is truthy.
2014-09-29 16:49:07 -07:00
David Greenspan
df6f93186b Print status messages even without progress bar
For example, in emacs shell, which is not a real TTY.
2014-09-29 16:18:38 -07:00
David Greenspan
1cf9eef9d0 Detect Emacs’s pseudo-TTY and don’t progress bar 2014-09-29 16:18:38 -07:00
David Greenspan
aa91cc4e6b Reduce progress bar polling (and make a constant) 2014-09-29 16:18:38 -07:00
Justin SB
043a0b8f3f Format all arguments to Console.X, just like console.log 2014-09-29 09:08:00 -07:00
Justin SB
6d5884ebca Cleaner logging; introduce Console.debug & METEOR_LOG=debug 2014-09-29 08:59:07 -07:00
ekatek
dd7635af6e merging from master 2014-09-25 19:45:48 -07:00
Justin SB
0c35bff3e2 Minimal fix for progress bar preventing 'meteor mongo' from exiting 2014-09-23 10:58:40 -07:00
Justin SB
b1e6a2a0ae Cleanup Console code, and make sure we cleanup the poller on exit
Not cleaning up the poller was preventing 'meteor mongo' from exiting cleanly
2014-09-23 05:40:29 -07:00
Justin SB
9c5abcc8fa Use cleanup onExit instead of process.on('exit', ) 2014-09-19 19:53:16 -07:00
Justin SB
27a1a66039 Make sure the progress bar is hidden when we exit the process
Otherwise it leaves artifacts when we call process.exit
2014-09-19 19:49:23 -07:00
Justin SB
30442946cf Set warning as an alias for warn on Console.prototype, not on the singleton 2014-09-19 18:42:47 -07:00
Justin SB
3b84a63fc2 Choose stdout/stderr, even if we're not in pretty mode 2014-09-19 18:04:06 -07:00
Justin SB
db11a5de0b Use pretty on a per-command basis
It can be overridden using METEOR_PRETTY_OUTPUT=0 or METEOR_PRETTY_OUTPUT=1
2014-09-19 16:56:25 -07:00
Justin SB
5abc41222c Hide progress bar when we're not watching any tasks 2014-09-19 16:56:25 -07:00
Justin SB
9963a8bcf3 Progress bars and output formatting 2014-09-19 16:56:25 -07:00