Open larroy opened 10 years ago
Anyone working on this? Is there a "dumb" scanner implemented?
Yes, we have just the dumb scanner.
It would be good to explore something better with inotify or whatever is the state of the art today for the given platform.
https://github.com/larroy/clearskies_core/blob/master/src/cs/share.cpp#L608
Pedro.
On Fri, Mar 28, 2014 at 6:23 PM, Alex Chamberlain notifications@github.comwrote:
Anyone working on this? Is there a "dumb" scanner implemented?
— Reply to this email directly or view it on GitHubhttps://github.com/larroy/clearskies_core/issues/21#issuecomment-38945227 .
Pedro Larroy Tovar | http://pedro.larroy.com/
Looks like libuv has basic support for file change events, so I'll start there.
Good point. Thanks, I didn't know this. Should make things easier if it works correctly. On Mar 28, 2014 10:34 PM, "Alex Chamberlain" notifications@github.com wrote:
Looks like libuv has basic support for file change eventshttp://nikhilm.github.io/uvbook/filesystem.html#file-change-events, so I'll start there.
— Reply to this email directly or view it on GitHubhttps://github.com/larroy/clearskies_core/issues/21#issuecomment-38970563 .
The scanner should be triggered on file changes using the platforms file notification mechanism