Dynamic module watch

Index

Interfaces

Classes

Functions

Functions

createMonitor(root: string, callback: (monitor: "watch".Monitor) => void)

Parameters

  • root: string
  • callback: (monitor: "watch".Monitor) => void

createMonitor(root: string, options: Options, callback: (monitor: "watch".Monitor) => void)

Parameters

  • root: string
  • options: Options
  • callback: (monitor: "watch".Monitor) => void

watchTree(root: string, callback: (f: any, curr: "fs".Stats, prev: "fs".Stats) => void)

Parameters

  • root: string
  • callback: (f: any, curr: "fs".Stats, prev: "fs".Stats) => void

watchTree(root: string, options: Options, callback: (f: any, curr: "fs".Stats, prev: "fs".Stats) => void)

Parameters

  • root: string
  • options: Options
  • callback: (f: any, curr: "fs".Stats, prev: "fs".Stats) => void