Java Watchable check for events forever
<p>How to set java watchable to check for events forever ? I mean I'm getting the event's simply with if ..</p>

<pre><code> for (WatchEvent event : events) {
               boolean terminate_or = false;

                if (event.kind() == StandardWatchEventKind.ENTRY_CREATE) {
                    System.out.println("Created: " + event.context().toString());
                    event.
                }
                if (event.kind() == StandardWatchEventKind.ENTRY_DELETE) {
                    System.out.println("Delete: " + event.context().toString());
                    terminate_or = true;
                }
                if (event.kind() == StandardWatchEventKind.ENTRY_MODIFY) {
                    System.out.println("Modify: " + event.context().toString());
                    terminate_or = true;
                }
            }
</code></pre>

<p>But it get's them only once, and then terminate .</p>
