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
asset.dart's needsBuild(..) {..} returns whether an AssetBundle needs to be (re)built given a corresponding manifest.
Its approach is to check the existence and modified timestamp on the manifest and its directories.
However, when checking the directories (_wildcardDirectories) it checks if modified returns null, in which case it skips the directory.
For MemoryFileSystem this unfortunately means that if a "wildcard dir" is deleted, needsBuild will simply ignore it and will likely return false.
I believe this is a bug as any major changes to the filesystem should likely indicate that the AssetBundle needs rebuilding?
Hi @cskau-g
can you please provide your flutter doctor -v,
also if you could post a self contained app on github
it'd help to better address the issue,
thank you
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
mikhail-tokarev commentedon Oct 8, 2019
Hi @cskau-g
can you please provide your
flutter doctor -v,also if you could post a self contained app on github
it'd help to better address the issue,
thank you
jonahwilliams commentedon Oct 8, 2019
This test has been fairly stable for the last several months. I originally wrote it so I will look into it more
github-actions commentedon Aug 27, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.