Path to directory to watch
Watch sub directories too?
Function to call when something changed on the file system
Optional function to call after every eventPollTimeout and there are no events to process. If
the function returns true, polling continues. If false is returned, polling is terminated and the thread
is stopped.
Milliseconds to wait after an event for more events. onEvent will only be called
after this delay has expired and there are no more events.
Milliseconds to wait for an event. If no events have been raised, onPoll() is called if
it has been supplied.
Milliseconds to wait after an event for more events.
Milliseconds to wait after an event for more events. onEvent will only be called
after this delay has expired and there are no more events.
Milliseconds to wait for an event.
Milliseconds to wait for an event. If no events have been raised, onPoll() is called if
it has been supplied.
Run a build
Makes it easier to walk a file tree
Function to call when something changed on the file system
Optional function to call after every eventPollTimeout and there are no events to process.
Optional function to call after every eventPollTimeout and there are no events to process. If
the function returns true, polling continues. If false is returned, polling is terminated and the thread
is stopped.
Path to directory to watch
Watch sub directories too?
Register a particular file or directory to be watched
Recursively register directories
The main directory watching thread
The main directory watching thread
Watches a directory for changes and triggers a build
Thanks to Chris Eberle. Also see java tutorial