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
For v1.0, we'll say that this is not a supported use case.
If we have a long running Dart program that's running in the background and using assets, and at the same time we try to modify asset files (either by hand, or by rerunning a hook), we run into file locking issues on Windows.
Modifying a asset/my_data.txt while a Dart program has it already open.
Modifying a C program while the Dart program is already running, and then running the same program in another terminal concurrently, triggering the hook again.
For v1.0, we'll say that this is not a supported use case.
If we have a long running Dart program that's running in the background and using assets, and at the same time we try to modify asset files (either by hand, or by rerunning a hook), we run into file locking issues on Windows.
asset/my_data.txtwhile a Dart program has it already open.We either need to:
native_assets_builderis done running, Dart/Flutter only use copies of the files produced by hooks. Originally posted by @dcharkes in [native_assets_builder] Set the last modified date of assets to the build output timestamp #1533 (comment)Thanks @blaugold for bringing this up!