Dynamic module vinyl-fs

Index

Functions

Functions

dest(folder: string, opt?: { cwd?: string; mode?: any; }): ReadWriteStream

Parameters

  • folder: string
  • opt?: { cwd?: string; mode?: any; } optional

Returns

ReadWriteStream

src(globs: string, opt?: { read?: boolean; buffer?: boolean; }): ReadWriteStream

Parameters

  • globs: string
  • opt?: { read?: boolean; buffer?: boolean; } optional

Returns

ReadWriteStream

src(globs: Array<string>, opt?: { read?: boolean; buffer?: boolean; }): ReadWriteStream

Parameters

  • globs: Array<string>
  • opt?: { read?: boolean; buffer?: boolean; } optional

Returns

ReadWriteStream

watch(globs: string, cb?: (outEvt: { type: any; path: any; old: any; }) => void): EventEmitter

Parameters

  • globs: string
  • cb?: (outEvt: { type: any; path: any; old: any; }) => void optional

Returns

EventEmitter

watch(globs: Array<string>, cb?: (outEvt: { type: any; path: any; old: any; }) => void): EventEmitter

Parameters

  • globs: Array<string>
  • cb?: (outEvt: { type: any; path: any; old: any; }) => void optional

Returns

EventEmitter

watch(globs: string, opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: Function; }, cb?: (outEvt: { type: any; path: any; old: any; }) => void): EventEmitter

Parameters

  • globs: string
  • opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: Function; } optional
  • cb?: (outEvt: { type: any; path: any; old: any; }) => void optional

Returns

EventEmitter

watch(globs: Array<string>, opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: Function; }, cb?: (outEvt: { type: any; path: any; old: any; }) => void): EventEmitter

Parameters

  • globs: Array<string>
  • opt?: { interval?: number; debounceDelay?: number; cwd?: string; maxListeners?: Function; } optional
  • cb?: (outEvt: { type: any; path: any; old: any; }) => void optional

Returns

EventEmitter