wahern / cqueues

Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.
http://25thandclement.com/~william/projects/cqueues.html
MIT License
244 stars 37 forks source link

cqueues.notify: removing file from notify object #242

Closed imolein closed 2 years ago

imolein commented 4 years ago

Hi,

I currently write a tiny script which will watch a few directories and do things if there are new files, files got deleted or files got modified. The content of these directories will change quiet often, so I thought about removing deleted files from the notify object, but it seems like this is not possible. So my questions is: Are there any implications on not removing gone files from the notify object, like a slowdown of the loop or memory usage is growing?

greetings