Use with webpack-dev-middleware
, by adding webpack-hot-middleware/client
to entry.
Add configs as query string to the path. Example:
webpack-hot-middleware/client?path=/__what&timeout=2000&overlay=false
Option | Description |
---|---|
path | The path which the middleware is serving the event stream on |
timeout | The time to wait after a disconnection before attempting to reconnect |
overlay | Set to false to disable the DOM-based client-side overlay. |
reload | Set to true to auto-reload the page when webpack gets stuck. |
noInfo | Set to true to disable informational console logging. |
quiet | Set to true to disable all console logging. |
dynamicPublicPath | Set to true to use webpack publicPath as prefix of path. (We can set __webpack_public_path__ dynamically at runtime in the entry point, see note of output.publicPath ) |