while (true) {
var event = inotifytools.next_event( 0 );
+ Seed.print(event.len);
+ inotifytools.printf(event, "in %w, file %f had event(s): %.e\n");
+ continue;
if ( !event ) {
if ( !inotifytools.error() ) {
Seed.print("Timeout?");
} else {
continue;
- }
+ }
}
if ( moved_from.length && !(event.mask & inotifytools.IN_MOVED_TO) ) {
if ( !inotifytools.remove_watch_by_filename( moved_from ) ) {