跳到正文

Interface: WatcherOptions

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1511

Properties

buildDelay?

ts
optional buildDelay: number;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1513


clearScreen?

ts
optional clearScreen: boolean;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1521


exclude?

ts
optional exclude: StringOrRegExp | StringOrRegExp[];

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1519


include?

ts
optional include: StringOrRegExp | StringOrRegExp[];

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1518


notify?

ts
optional notify: object;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1514

compareContents?

ts
optional compareContents: boolean;

pollInterval?

ts
optional pollInterval: number;

onInvalidate()?

ts
optional onInvalidate: (id) => void;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1520

Parameters

id

string

Returns

void


skipWrite?

ts
optional skipWrite: boolean;

Defined in: node_modules/.pnpm/[email protected]/node_modules/rolldown/dist/shared/define-config-twT5HTur.d.mts:1512

Released under the MIT License.