jeeves-watcher
    Preparing search index...

    Interface FileSystemWatcherOptions

    Options for FileSystemWatcher beyond basic config.

    interface FileSystemWatcherOptions {
        changeSourceHealth?: ChangeSourceHealthTracker;
        contentHashCache?: ContentHashCache;
        getReconcileIntervalMs?: () => number | undefined;
        gitignoreFilter?: GitignoreFilter;
        importParcel?: ParcelImporter;
        initialScanTracker?: InitialScanTracker;
        maxBackoffMs?: number;
        maxRetries?: number;
        onFatalError?: (error: unknown) => void;
        onInitialScanComplete?: (view: IndexCheckView) => void | Promise<void>;
        onVcsFileChange?: VcsFileChange;
        restarter?: ProcessRestarter;
        stateDir?: string;
    }
    Index
    changeSourceHealth?: ChangeSourceHealthTracker

    health.changeSource counters (D133), owned by the app across rebuilds.

    contentHashCache?: ContentHashCache

    Optional content hash cache for move detection.

    getReconcileIntervalMs?: () => number | undefined

    Live watch.reconcileIntervalMs (D111), read at each scheduling.

    gitignoreFilter?: GitignoreFilter

    Optional gitignore filter for processor-level filtering.

    importParcel?: ParcelImporter

    Imports @parcel/watcher (tests; default the real module, D125).

    initialScanTracker?: InitialScanTracker

    Optional tracker for initial scan visibility in /status.

    maxBackoffMs?: number

    Maximum backoff delay in milliseconds for system errors.

    maxRetries?: number

    Maximum consecutive system-level failures before fatal error.

    onFatalError?: (error: unknown) => void

    Callback invoked on unrecoverable system error. If not set, throws.

    onInitialScanComplete?: (view: IndexCheckView) => void | Promise<void>

    Optional callback invoked when the initial filesystem scan completes, with the index check's view of the watcher that completed it (D197).

    onVcsFileChange?: VcsFileChange

    Optional callback for VCS file change notifications.

    restarter?: ProcessRestarter

    Exits for a service-manager restart where parcel never unsubscribes (Windows, D196); default an immediate exit.

    stateDir?: string

    The service state directory (the parcel rebuild sentinel, D165).