You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path at which to connect to the reloading socket. Defaults to `/sockjs-node`.
1096
+
1097
+
__webpack.config.js__
1098
+
1099
+
```javascript
1100
+
module.exports= {
1101
+
//...
1102
+
devServer: {
1103
+
sockPath:'/socket',
1104
+
}
1105
+
};
1106
+
```
1107
+
1108
+
1091
1109
## `devServer.staticOptions`
1092
1110
1093
1111
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.
0 commit comments