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
|`path`|`string`|`/__webpack_hmr`| Path the SSE endpoint is served at. Must match the server `hot.path`. |
381
+
|`timeout`|`number`|`20000`| Reconnection / heartbeat watchdog timeout in milliseconds. |
382
+
|`overlay`|`boolean`|`true`| Show compile-time errors in an in-page overlay. |
383
+
|`overlayWarnings`|`boolean`|`false`| Also show compile-time warnings in the overlay. |
384
+
|`overlayStyles`|`Object`|`{}`| JSON object of CSS overrides for the overlay container. Pass JSON-encoded value via query string. |
385
+
|`ansiColors`|`Object`|`{}`| JSON object overriding the ANSI → HTML color map used by the overlay. |
386
+
|`reload`|`boolean`|`true`|Fall back to a full page reload when an update cannot be applied through HMR (e.g. recovering from a broken build). Set to `false` to keep HMR-only.|
387
+
|`logging`|`string`|`"info"`| Logger level — one of `"none"`, `"error"`, `"warn"`, `"info"`, `"log"`, `"verbose"`. Uses webpack's runtime logger. |
388
+
|`name`|`string`|`""`| Restrict updates to a specific compilation name (useful with multi-compiler). |
389
+
|`autoConnect`|`boolean`|`true`| Connect on load; set to `false` and call `setOptionsAndConnect()` manually. |
390
+
|`dynamicPublicPath`|`boolean`|`false`| Prefix `path` with `__webpack_public_path__` at runtime. |
0 commit comments