/dmon.nim

Cross-platform native directory/file monitoring in Nim, based on dmon

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

dmon for Nim

A tiny example of using dmon from Nim. dmon is a tiny C library that monitors changes in a directory. It provides a unified solution to multiple system APIs that exist for each OS. It can also monitor directories recursively.

dmonExtra (linux only) is not included here.

Compile and run test.nim to see a log of changes in the current working dir. Be aware that callbacks are triggered from a different thread!