paul-nameless/nim-fswatch

how to enable noDefer?

Closed this issue · 3 comments

tiye commented

I'm using this library and experienced many times of slow responding. I thinks it's a problem in libfswatch but turned out it's a default behavior from according to emcrisostomo/fswatch#230 . It sounds like we can change this behavior with a flag. Can I turn on noDefer in this library?


updates...

Seem it's making difference when I try fsw_set_latency...

discard mon.handle.fsw_set_latency 0.2

So setting latency resolved your problem?

tiye commented

I think so... it's quite responsive right now.

Okay, I'll close it for now,. You are welcome to reopen the issue if needed)