Interface LocalFileTriggerNodeParameters

Source
interface LocalFileTriggerNodeParameters {
    events?: (
        | "add"
        | "change"
        | "unlink"
        | "addDir"
        | "unlinkDir"
    )[];
    options?: {
        awaitWriteFinish?: boolean;
        depth?: 0
        | 1
        | -1
        | 3
        | 2
        | 4
        | 5;
        followSymlinks?: boolean;
        ignored?: string;
        ignoreInitial?: boolean;
        ignoreMode?: "match" | "contain";
        usePolling?: boolean;
    };
    path?: string;
    triggerOn?: "file"
    | "folder";
}

Properties§

Source§

readonly events?: ("add" | "change" | "unlink" | "addDir" | "unlinkDir")[]

The events to listen to Default: []

Source§

readonly options?: {
    awaitWriteFinish?: boolean;
    depth?: 0 | 1 | -1 | 3 | 2 | 4 | 5;
    followSymlinks?: boolean;
    ignored?: string;
    ignoreInitial?: boolean;
    ignoreMode?: "match" | "contain";
    usePolling?: boolean;
}

Default: {}

Source§

readonly path?: string

Source§

readonly triggerOn?: "file" | "folder"