netzpirat/guard-jasmine — pull request #124 by mathie (2013-04-10 09:29:07+00:00)
Title: Only log console messages if there's a spec in progress.

Frameworks that logged to the console during initialization (eg EmberJS) were causing an error because logs[-1] was undefined. For bonus points, Ember helpfully swallowed this error in development and carried on, meaning that all the tests would mysteriously fail instead...

It might be useful to start logging these 'global' log messages too and communicating them back to the runner, but at least this gets my tests running again. :)