etcimon / libasync

Cross-platform event loop library of asynchronous objects
MIT License
147 stars 30 forks source link

dirwatcher example does not work on osx #83

Closed gizmomogwai closed 11 months ago

gizmomogwai commented 7 years ago

it compiles and tells me, to put stuff to the local temp folder, but not output is done if i do so. i am running osx 10.12.6

gizmomogwai commented 7 years ago

I checked linux with EPOLL and it just works....

etcimon commented 6 years ago

I can't seem to be able to reproduce this, could you give a more exact error?

gizmomogwai commented 6 years ago

steps to reproduce on osx:

source ~/dlang/dmd-2.082.1/activate.fish
cd ~/tmp
git clone git@github.com:etcimon/libasync.git
cd libasync/examples/dirwatcher
dub build
./dirwatcher
 > Event loop now running. Try saving a file in the temp/ folder!

in a separate shell

touch ~/tmp/libasync/examples/dirwatcher/temp/test

no output on the first shell. expected output would be something like file ~/tmp/libasync/examples/dirwatcher/temp/test created.

etcimon commented 11 months ago

This has been fixed by now