We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e090b32 commit da5dc14Copy full SHA for da5dc14
pkgs/native_assets_builder/lib/src/build_runner/build_runner.dart
@@ -407,8 +407,9 @@ ${e.message}
407
final modifiedDuringBuild = await dependenciesHashes.hashDependencies(
408
[
409
...result.dependencies,
410
- // Also depend on the hook source code.
411
- hookHashes.file.uri,
+ // Also depend on the compiled hook. Don't depend on the sources,
+ // if only whitespace changes, we don't need to rerun the hook.
412
+ hookKernelFile.uri,
413
],
414
lastModifiedCutoffTime,
415
environment,
0 commit comments