Skip to content

Commit

Permalink
docs: add reload-server tip (#3656)
Browse files Browse the repository at this point in the history
Co-authored-by: neverland <[email protected]>
  • Loading branch information
9aoy and chenjiahan authored Oct 8, 2024
1 parent 8f53644 commit aca1290
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/en/config/dev/watch-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ export default {
};
```

It should be noted that the reload-server functionality is provided by Rsbuild CLI. If you are using a custom server or an upper-layer framework based on the Rsbuild, this configuration is currently not supported.

## options

- **Type:** `WatchOptions`
Expand Down
2 changes: 2 additions & 0 deletions website/docs/zh/config/dev/watch-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ export default {
};
```

需要注意的是,reload-server 功能由 Rsbuild CLI 提供。如果你使用的是自定义 server 或基于 Rsbuild 封装的上层框架,目前暂不支持此配置。

## options

- **类型:** `WatchOptions`
Expand Down

0 comments on commit aca1290

Please sign in to comment.