[EXTRA] inotifytools
[gnome.gobject-introspection] / extras / inotifytools / example.js
index fce5471..12bd77a 100644 (file)
@@ -45,6 +45,7 @@ var moved_from = '';
 while (true) {
     
     var event = inotifytools.next_event( 0 );
+    Seed.print(event);
     if ( !event ) {
         if ( !inotifytools.error() ) {
             Seed.print("Timeout?");
@@ -56,7 +57,7 @@ while (true) {
         } else {
             continue;
                        
-               }
+       }
     }
     if ( moved_from.length && !(event.mask & inotifytools.IN_MOVED_TO) ) {
         if ( !inotifytools.remove_watch_by_filename( moved_from ) ) {