Skip to content

add close() api #287

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

Merged
merged 1 commit into from
Oct 13, 2015
Merged

add close() api #287

merged 1 commit into from
Oct 13, 2015

Conversation

jhchen
Copy link
Contributor

@jhchen jhchen commented Oct 6, 2015

Implements close as described in #249. I don't believe it's possible to support a callback since socket.io's close does not have a callback. Happy to add some tests though not sure how the are split up amongst the various webpack libraries.

sokra added a commit that referenced this pull request Oct 13, 2015
@sokra sokra merged commit 976512d into webpack:master Oct 13, 2015
@sokra
Copy link
Member

sokra commented Oct 13, 2015

Thanks

@sokra
Copy link
Member

sokra commented Oct 13, 2015

Could you add it to the documentation?

@jhchen
Copy link
Contributor Author

jhchen commented Oct 13, 2015

Of course. I just added a commented out call to https://github.com/webpack/docs/wiki/webpack-dev-server in case people copy/paste the code snippet. Let me know if there is a better way or place.

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