axemclion/grunt-saucelabs — pull request #30 by toolmantim (2013-03-30 09:26:33+00:00)
Title: Hanging whilst waiting for "You may start your tests"

On some setups Sauce-Connect.jar may not necessarily output "You may start your tests" when a tunnel is established, and will indefinitely hang.

The recommended way of detecting whether it's ready is to use the readyfile argument (for example, see the [standard shell-script method](https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh)).

Should we switch out the string matching method for detecting the readyfile (such as `fs.watch` or a `setTimeout` + `fs.exists`)?