From 782d740f8de08d77c9f066790872de10ca5fa7f0 Mon Sep 17 00:00:00 2001 From: dragon <37643710+declandragon@users.noreply.github.com> Date: Wed, 11 Dec 2024 00:44:43 +0800 Subject: [PATCH] [docs] add watchIgnoreFiles demo (#2312) --- docusaurus/docs/dev-docs/configurations/admin-panel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/dev-docs/configurations/admin-panel.md b/docusaurus/docs/dev-docs/configurations/admin-panel.md index d02935bebb..eaa0de8813 100644 --- a/docusaurus/docs/dev-docs/configurations/admin-panel.md +++ b/docusaurus/docs/dev-docs/configurations/admin-panel.md @@ -37,7 +37,7 @@ The `./config/admin.js` file can include the following parameters: | `auth.events.onConnectionError` | Function called when an admin user fails to log in to the administration panel | function | `undefined` | | `url` | Url of your admin panel. Default value: `/admin`. Note: If the url is relative, it will be concatenated with `url`. | string | `/admin` | | `autoOpen` | Enable or disable administration opening on start. | boolean | `true` | -| `watchIgnoreFiles` | Add custom files that should not be watched during development. See more [here](https://github.com/paulmillr/chokidar#path-filtering) (property `ignored`). | array(string) | `[]` | +| `watchIgnoreFiles` | Add custom files that should not be watched during development. See more [here](https://github.com/paulmillr/chokidar#path-filtering) (property `ignored`). | array(string) | `[]`. Example: root path `local/data/mysql-data`, configured as `['**/mysql-data/**']` | | `host` | Use a different host for the admin panel. | string | `localhost` | | `port` | Use a different port for the admin panel. | string | `8000` | | `serveAdminPanel` | If false, the admin panel won't be served. Note: the `index.html` will still be served | boolean | `true` |