diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6c0974e733d..320793c9f81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,5 @@
# rollup changelog
-## 2.26.9
*unreleased*
### Pull Requests
diff --git a/docs/999-big-list-of-options.md b/docs/999-big-list-of-options.md
index 92c214746f3..3fd97f8ef8d 100755
--- a/docs/999-big-list-of-options.md
+++ b/docs/999-big-list-of-options.md
@@ -1509,7 +1509,7 @@ Default: `true`
Whether to clear the screen when a rebuild is triggered.
#### watch.exclude
-Type: `string`
+Type: `string | RegExp | (string | RegExp)[]`
CLI: `--watch.exclude `
Prevent files from being watched:
@@ -1525,7 +1525,7 @@ export default {
```
#### watch.include
-Type: `string`
+Type: `string | RegExp | (string | RegExp)[]`
CLI: `--watch.include `
Limit the file-watching to certain files. Note that this only filters the module graph but does not allow to add additional watch files:
diff --git a/src/rollup/types.d.ts b/src/rollup/types.d.ts
index bd95c1fe609..0066f1d7d53 100644
--- a/src/rollup/types.d.ts
+++ b/src/rollup/types.d.ts
@@ -754,8 +754,8 @@ export interface WatcherOptions {
buildDelay?: number;
chokidar?: ChokidarOptions;
clearScreen?: boolean;
- exclude?: string[];
- include?: string[];
+ exclude?: string | RegExp | (string | RegExp)[];
+ include?: string | RegExp | (string | RegExp)[];
skipWrite?: boolean;
}