Skip to content

PathWatcher

Nodepod API


Nodepod API / src / chokidar / PathWatcher

Defined in: src/polyfills/chokidar.ts:81

  • MiniEmitter

cfg: WatcherConfig

Defined in: src/polyfills/chokidar.ts:83


handlers: Map<string, Set<Listener>>

Defined in: src/polyfills/chokidar.ts:16

MiniEmitter.handlers


handles: Map<string, FileWatchHandle>

Defined in: src/polyfills/chokidar.ts:84


initialised: boolean

Defined in: src/polyfills/chokidar.ts:86


terminated: boolean

Defined in: src/polyfills/chokidar.ts:85


vol: MemoryVolume

Defined in: src/polyfills/chokidar.ts:82

add(targets): this

Defined in: src/polyfills/chokidar.ts:87

string | readonly string[]

this


attachWatcher(target, filterFor?): void

Defined in: src/polyfills/chokidar.ts:94

string

string

void


close(): Promise<void>

Defined in: src/polyfills/chokidar.ts:89

Promise<void>


fire(name, …args): void

Defined in: src/polyfills/chokidar.ts:19

string

unknown[]

void

MiniEmitter.fire


gatherInitial(dir, queue): void

Defined in: src/polyfills/chokidar.ts:93

string

() => void[]

void


getWatched(): Record<string, string[]>

Defined in: src/polyfills/chokidar.ts:90

Record<string, string[]>


isExcluded(target): boolean

Defined in: src/polyfills/chokidar.ts:92

string

boolean


off(name, fn): this

Defined in: src/polyfills/chokidar.ts:18

string

Listener

this

MiniEmitter.off


on(name, fn): this

Defined in: src/polyfills/chokidar.ts:17

string

Listener

this

MiniEmitter.on


resolvePath(raw): string

Defined in: src/polyfills/chokidar.ts:91

string

string


unwatch(targets): this

Defined in: src/polyfills/chokidar.ts:88

string | readonly string[]

this


watchSubtree(dir, level?): void

Defined in: src/polyfills/chokidar.ts:95

string

number

void