Webpack.js.org: Add documentation of sockPort, injectClient, and injectHot

Created on 26 Apr 2019  路  6Comments  路  Source: webpack/webpack.js.org

Feature to document

Add new options's descriptions of webpack-dev-server.

sockPort, injectClient, and injectHot

Author(s)

/cc @evilebottnawi

Additional information

related: https://github.com/webpack/webpack-dev-server/pull/1821

Configuration New Feature

Most helpful comment

I still have no idea what these do though, even with the documentation

All 6 comments

@hiroppy wanna file a PR or should we pick it up?

Picking this up:
Lets track progress on checkboxes:

  • [x] sockPort: #2995
  • [x] injectClient: #2996
  • [x] injectHot: #2996

I missed the message. I'm sorry. Thank you for adding these to the document.

done, closing

I still have no idea what these do though, even with the documentation

Agreed @IronSean. I just ran into an issue getting a library working with webpack-dev-server and ran into the injectClient following the thread for https://github.com/webpack/webpack-dev-server/issues/2484. As it turns it, it seems to have fixed the problem I was running into by setting this to false but I have no idea why really. Better documentation here would most likely help.

Was this page helpful?
0 / 5 - 0 ratings