netzpirat/guard-jasmine — pull request #75 by mutru (2012-08-24 00:11:39+00:00)
Title: Make sure the server process dies on error

It's possible that a server process is spawned and it is alive, even if runner_available? returns false. This change calls Server.stop to make sure that the server won't hang around forever.

This caused an issue with our CI server, where one failed test run left a child process that held the listening socket, and further test runs would fail.

I also fixed a small typo in the 'without the runner available' spec.