You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The watchservice of the JVM suffers from a few drawbacks regarding its integration with the OS. In Linux in particular events of bind mounts are not received.
Currently file watching capabilities just appeared in a 0.22 milestone, unfortunately this is not completely released (platform specific native libraries are not published on bintray (for the published milestone)).
Gradle's native-platform may not be a good fit after all.
Gradle's native-platform uses macOs's fsevents to handle file events, which does not pickup all file changes.
While looking at macOs tail source code I found that it is based on BSD's kqueue and this mechanisms report correctly single file changes.
This finding has been confirmed with the tool fswatch (it implements various way to watch files ; on macOS: fsevents, kqueue, or polling).
The watchservice of the JVM suffers from a few drawbacks regarding its integration with the OS. In Linux in particular events of bind mounts are not received.
Let's investigate alternative, in particular the gradle native integration : https://github.com/gradle/native-platform
Currently file watching capabilities just appeared in a 0.22 milestone, unfortunately this is not completely released (platform specific native libraries are not published on bintray (for the published milestone)).
To follow https://github.com/gradle/native-platform/releases
However
native-platform:0.21
is available on it's possible to play with some api like the terminal or files, e.g. :The text was updated successfully, but these errors were encountered: