From aca129055b913a71b29a845fe5d91964d82eec76 Mon Sep 17 00:00:00 2001 From: 9aoy Date: Tue, 8 Oct 2024 15:18:32 +0800 Subject: [PATCH] docs: add reload-server tip (#3656) Co-authored-by: neverland --- website/docs/en/config/dev/watch-files.mdx | 2 ++ website/docs/zh/config/dev/watch-files.mdx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/website/docs/en/config/dev/watch-files.mdx b/website/docs/en/config/dev/watch-files.mdx index 5f4a9d9913..38da985c6a 100644 --- a/website/docs/en/config/dev/watch-files.mdx +++ b/website/docs/en/config/dev/watch-files.mdx @@ -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` diff --git a/website/docs/zh/config/dev/watch-files.mdx b/website/docs/zh/config/dev/watch-files.mdx index 83a1aabfe4..fe74c6d3a8 100644 --- a/website/docs/zh/config/dev/watch-files.mdx +++ b/website/docs/zh/config/dev/watch-files.mdx @@ -106,6 +106,8 @@ export default { }; ``` +需要注意的是,reload-server 功能由 Rsbuild CLI 提供。如果你使用的是自定义 server 或基于 Rsbuild 封装的上层框架,目前暂不支持此配置。 + ## options - **类型:** `WatchOptions`