⚡️ A fast, small, lightweight filesystem monitor. Yellin' for changes!
API reference | Download (not yet)
todo
- Open Source |
MIT
license
nimble install watchout
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)
- 🐛 Found a bug? Create a new Issue
- 👋 Wanna help? Fork it!
- 😎 Get €20 in cloud credits from Hetzner
- 🥰 Donate to OpenPeeps via PayPal address
Watchout MIT license.
Copyright © 2023 OpenPeeps & Contributors — All rights reserved.