Skip to main content

BettererOptionsWatch

API > @betterer/betterer > BettererOptionsWatch

Options for when you create a BettererRunner via the betterer.watch() JS API.

Signature​

export interface BettererOptionsWatch extends BettererOptionsRunner 
Extends: [BettererOptionsRunner](/betterer/docs/betterer.bettereroptionsrunner)

Remarks​

The options object will be validated by Betterer and turned into a BettererConfig.

Properties​

PropertyTypeDescription
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.