diff --git a/src/content/configuration/dev-server.md b/src/content/configuration/dev-server.md index c9a7dbdbf87d..f4bbc2ea3373 100644 --- a/src/content/configuration/dev-server.md +++ b/src/content/configuration/dev-server.md @@ -1084,6 +1084,24 @@ webpack-dev-server --socket socket ``` +## `devServer.sockPath` + +`string: '/sockjs-node'` + +The path at which to connect to the reloading socket. + +__webpack.config.js__ + +```javascript +module.exports = { + //... + devServer: { + sockPath: '/socket', + } +}; +``` + + ## `devServer.staticOptions` It is possible to configure advanced options for serving static files from `contentBase`. See the [Express documentation](http://expressjs.com/en/4x/api.html#express.static) for the possible options.