[ 
https://issues.apache.org/jira/browse/SLING-12490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930707#comment-17930707
 ] 

Stefan Seifert commented on SLING-12490:
----------------------------------------

and for sure we cannot rely on 
{{com.sun.nio.file.ExtendedWatchEventModifier.FILE_TREE}}, which seems to be 
supported on windows, but also has it's own limitations.

i'm wondering if it's a good idea to go into this direction with that 
limitations in place.

besides the unit test flakiness, the current implementation is stable.

> Use NIO FileWatch API
> ---------------------
>
>                 Key: SLING-12490
>                 URL: https://issues.apache.org/jira/browse/SLING-12490
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Carsten Ziegeler
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: File System Resource Provider 2.2.2
>
>
> We currently poll the file system periodically for changes. This code was 
> written before the file watch API become available in the JDK. We should 
> switch to that instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to