-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File system watching does not detect changes on /System/Volumes/Data/...
on macOs
#18149
Comments
@jdochez thanks for posting it here. For the Gradle team: I experienced this issue. If you need any information, feel free to ping me here. |
This may be related to |
/System/Volumes/Data/...
on macOs
We seem to have found the problem, together with @PhilippNowak96: The problem is only for macOS. It seems like newer macOS versions introduce a data volume, which is in Now, when somebody creates a custom directory in The solution is to move the project directory to the |
This issue has caused us to re-evaluate the way we enable file system watching by default. Clearly, there are cases where we can't rely on events being delivered, and playing whack-a-mole with corner cases like this doesn't help anyone. So: new approach! When we enable file system watching for a hierarchy (=build root, basically), we'll also make a change to the file system under that root. Unless we hear back about that change by the start of the next build, we'll discard the corresponding part of the VFS. In other words, we will only rely on information about a hierarchy in the VFS from a previous build if we can prove that we got at least one event from the file system about that hierarchy. |
This is a follow up to
https://buganizer.corp.google.com/issues/196982364
The file watching service is not sending file changes any longer and Gradle will think all tasks are up to date.
Please see referenced bugs for context.
as of time of filing :
The text was updated successfully, but these errors were encountered: