Skip to content

Commit 1b1fae3

Browse files
authored
docs: fix type of devServer.hot (#7711)
docs: fix type of devServer.hot
1 parent e137a43 commit 1b1fae3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/config/dev-server.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ Specifying local-ipv6 as host will try to resolve the host option as your local
498498

499499
## devServer.hot
500500

501-
- **Type:** `boolean`
501+
- **Type:** `boolean | 'only'`
502502
- **Default:** `true`
503503

504504
Enable Rspack's Hot Module Replacement feature:

website/docs/zh/config/dev-server.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ module.exports = {
487487

488488
## devServer.hot
489489

490-
- **类型:** `boolean`
490+
- **类型:** `boolean | 'only'`
491491
- **默认值:** `true`
492492

493493
开启热更新:

0 commit comments

Comments
 (0)