BettererOptionsWatch
API > @betterer/betterer > BettererOptionsWatch
Options for when you create a BettererRunner
via the betterer.watch()
JS API.
Signature
export interface BettererOptionsWatch extends BettererOptionsRunner
Remarks
The options object will be validated by Betterer and turned into a BettererConfig
.
Properties
Property | Type | Description |
---|---|---|
ignores? | BettererOptionsIgnores | (Optional) A glob pattern to match file paths that should be ignored by the file watcher in watch mode, or an array of them. All ignores should be relative to the cwd . |
watch? | true | (Optional) Must be true when using Watch mode. |