From 5fe4dc95df3998570db16ff8a9b6355704726c6d Mon Sep 17 00:00:00 2001 From: Vladimir Date: Fri, 8 Sep 2023 16:11:48 +0300 Subject: [PATCH] Update docs/guide/api-javascript.md Co-authored-by: Bjorn Lu --- docs/guide/api-javascript.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/api-javascript.md b/docs/guide/api-javascript.md index ad359ffa91ec95..49996f727c0059 100644 --- a/docs/guide/api-javascript.md +++ b/docs/guide/api-javascript.md @@ -74,8 +74,8 @@ interface ViteDevServer { */ httpServer: http.Server | null /** - * Chokidar watcher instance. If watcher was disabled in the config, - * returns noop event emitter. + * Chokidar watcher instance. If `config.server.watch` is set to `null`, + * returns a noop event emitter. * https://github.com/paulmillr/chokidar#api */ watcher: FSWatcher