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

Bugfix/ws-econnreset - fixes #106 #108

Merged
merged 1 commit into from
Mar 17, 2018
Merged

Bugfix/ws-econnreset - fixes #106 #108

merged 1 commit into from
Mar 17, 2018

Conversation

klaasman
Copy link
Contributor

Guess we could split this PR up into two PR's since most of the files are touched for enabling yarn workspaces.
Your call if we should or shouldn't.

@klaasman klaasman requested a review from EECOLOR March 16, 2018 20:41
@klaasman
Copy link
Contributor Author

klaasman commented Mar 16, 2018

Hmm, I see yarn workspaces removed the yarn.lock file in the library-dir. Not sure if this is problematic or not.

@EECOLOR
Copy link
Member

EECOLOR commented Mar 17, 2018

Guess we could split this PR up into two PR's since most of the files are touched for enabling yarn workspaces.
Your call if we should or shouldn't.

Yeah, that's best. Allows us to focus our discussion.

const wss = new ws.Server({ port })
wss.on('connection', ws => {
ws.on('error', err => {
Copy link
Member

Choose a reason for hiding this comment

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

Did you check that the error was caught here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My environment had 100% failure which was fixed by this commit.

@klaasman klaasman force-pushed the bugfix/ws-econnreset branch from 76280ac to 8b98489 Compare March 17, 2018 09:32
@klaasman klaasman merged commit 59c0a1c into master Mar 17, 2018
@klaasman klaasman deleted the bugfix/ws-econnreset branch March 17, 2018 13:00
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.

2 participants