For the work being done for
TK-149, we're looking into using the trapperkeeper-filesystem-watcher library to watch for changes to the directory where the CRL file that the Jetty webserver uses. Currently, tk-fs-watcher only supports recursively watching an entire directory tree but for this use case it would be more efficient to just be able to watch the immediate directory in which the CRL file resides. Ideally, it would be even better to be able to just watch for changes to the CRL file itself but it appears that the Path.register functionality that tk-fs-watcher uses will only support directory-level watching.
The work for this ticket would involve enhancing the tk-fs-watcher with a way to avoid having to recursively watch all files in a directory tree - to instead be able to watch changes to the immediate directory only.