Skip to content

Commit

Permalink
Improve server timeout handling. (Closes #85)
Browse files Browse the repository at this point in the history
  • Loading branch information
netzpirat committed Oct 19, 2012
1 parent b0810b1 commit 928bc3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Master

- [Issue #85](https://github.com/netzpirat/guard-jasmine/issues/85): Improve server timeout handling.

## 1.9.1 - October 17, 2012

- Fix automatic server detection.
Expand Down
3 changes: 2 additions & 1 deletion lib/guard/jasmine/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def wait_for_server(port, timeout)
end

rescue Timeout::Error
::Guard::UI.warning 'Timeout while waiting for the server startup.'
::Guard::UI.warning 'Timeout while waiting for the server startup. You may need to increase the `:server_timeout` option.'
throw :task_has_failed
end

end
Expand Down

0 comments on commit 928bc3e

Please sign in to comment.