Skip to content

Don't allow tunnel to hang open#63

Open
scally wants to merge 1 commit intojmreidy:masterfrom
scally:fix-tunnel-open-breakage
Open

Don't allow tunnel to hang open#63
scally wants to merge 1 commit intojmreidy:masterfrom
scally:fix-tunnel-open-breakage

Conversation

@scally
Copy link

@scally scally commented Nov 7, 2017

Whenever a tunnel fails to open, hard crash it to keep it from hanging in the open state.

We keep having an issue where opening a tunnel to sauce fails. Upon this failure, the grunt task remains stuck and never exits without being manually killed.

Because the sc binary fails with a nonzero exit code, the exit event never fires on this.proc. The call to proc.kill() also fails because the child process has already exited by the time any error is detected.

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.

1 participant