Skip to content

Commit

Permalink
[native_assets_builder] If dill file is equal, don't invalidate cache (
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes authored Dec 10, 2024
1 parent e090b32 commit da5dc14
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,9 @@ ${e.message}
final modifiedDuringBuild = await dependenciesHashes.hashDependencies(
[
...result.dependencies,
// Also depend on the hook source code.
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.
hookKernelFile.uri,
],
lastModifiedCutoffTime,
environment,
Expand Down

0 comments on commit da5dc14

Please sign in to comment.