midas/node/chokidar

Types

pub type AllEvent {
  Add
  Change
  Unlink
  AddDir
  UnlinkDir
}

Constructors

  • Add
  • Change
  • Unlink
  • AddDir
  • UnlinkDir
pub type FsWatcher

Functions

pub fn on_all(
  watcher: FsWatcher,
  callback f: fn(AllEvent, String) -> Nil,
) -> Nil
pub fn watch(initial: List(String)) -> FsWatcher
Search Document