I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
I think there's an inotify library for Java. That would take care of this for you and mean you didn't have to go through the expensive "poll for events in an infinite loop" step.
I think there's an
inotify
library for Java. That would take care of this for you and mean you didn't have to go through the expensive "poll for events in an infinite loop" step.thanks Ben..will check that.