Skip to content

Commit 91f9fa8

Browse files
committed
feat: allow regex for ignoreWatch
1 parent 5c51303 commit 91f9fa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/options/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ export interface Options {
257257
*/
258258
config?: boolean | string
259259
/** @default false */
260-
watch?: boolean | string | string[]
261-
ignoreWatch?: string | string[]
260+
watch?: boolean | Arrayable<string>
261+
ignoreWatch?: Arrayable<string | RegExp>
262262

263263
/**
264264
* You can specify command to be executed after a successful build, specially useful for Watch mode

0 commit comments

Comments
 (0)