openpeeps / watchout

⚡️ A fast, small, lightweight filesystem monitor. Yellin' for changes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


⚡️ A fast, small, lightweight filesystem monitor. Yellin' for changes!

API reference | Download (not yet)
Github Actions Github Actions

😍 Key Features

todo

  • Open Source | MIT license

Installing

nimble install watchout

Examples

import watchout

proc onFound(file: File) =
  echo "Found"
  echo file.getPath

proc onChange(file: File) =
  echo "Changed"
  echo file.getPath

proc onDelete(file: File) =
  echo "Deleted"
  echo file.getPath

var w = newWatchout("../tests/*.nim", onChange, onFound, onDelete)
w.start(waitThreads = true)

❤ Contributions & Support

🎩 License

Watchout MIT license.
Copyright © 2023 OpenPeeps & Contributors — All rights reserved.

About

⚡️ A fast, small, lightweight filesystem monitor. Yellin' for changes!

License:MIT License


Languages

Language:Nim 100.0%