On Sunday, 28 June 2015 at 16:57:44 UTC, Suliman wrote:
Also next code that I take from example after run absolutely do
not do nothing:
This code will register a directory watcher in the working
directory, on the thread's event loop, and then use timers to
create file/folder activity to trigger this directory watcher.
The only thing needed to make this work is r/w access to the
working directory and a running event loop.
So, adding the line:
g_evl.run(10.seconds);
If you don't have an event loop running, your application is
basically not going to receive callback events.