Skip to content

Commit ec1b37b

Browse files
jasonslyviaskipjack
authored andcommitted
docs(config): update inline recommendation in dev-server (#1540)
Update tip based on discussion in #1540.
1 parent 158e5a5 commit ec1b37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/configuration/dev-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ Usage via the CLI
377377
webpack-dev-server --inline=false
378378
```
379379

380-
T> Inline mode is recommended when using Hot Module Replacement.
380+
T> Inline mode is recommended for Hot Module Replacement as it includes an HMR trigger from the websocket. Polling mode can be used as an alternative, but requires an additional entry point, `'webpack/hot/poll?1000'`.
381381

382382

383383
## `devServer.lazy` 🔑

0 commit comments

Comments
 (0)