dirwatch icon indicating copy to clipboard operation
dirwatch copied to clipboard

Set high sensitivity to make file watching on OS X tolerable

Open mk opened this issue 4 years ago • 0 comments

Without this setting, it would take 5-10 seconds on OS X for an event to be reported.

A caveat of this is that com.sun.nio.file.SensitivityWatchEventModifier is an internal api that might be removed in the future and require the jdk.unsupported module to be added, see https://openjdk.java.net/jeps/260.

As of today it works in JDK 8 through 15.

mk avatar Mar 16 '21 10:03 mk