Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display "Browser connected." only once. Never display "Browser disconnected." #104

Merged
merged 1 commit into from
Mar 20, 2014

Conversation

jmuheim
Copy link

@jmuheim jmuheim commented Mar 20, 2014

Closes #103.

@@ -51,7 +52,9 @@ def _start_reactor
end

def _connect(ws)
UI.info "Browser connected."
@connections_count += 1
UI.info "Browser connected." if connections_count == 1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't find another way to determine whether it's the first call to _connect.

@thibaudgg
Copy link
Member

👍

thibaudgg added a commit that referenced this pull request Mar 20, 2014
Display "Browser connected." only once. Never display "Browser disconnected."
@thibaudgg thibaudgg merged commit b329fa2 into guard:master Mar 20, 2014
@thibaudgg
Copy link
Member

2.1.2 released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Browser connected/disconnected" infos cluttering up guard output
2 participants