Skip to content

Commit bc949b7

Browse files
authored
Include repository cache files in the disk cache key. (#64)
Like BUILD file changes, changes to workspace dependencies can significantly affect the contents of the disk cache. Prior to this change, upreving dependencies wasn't itself sufficient to update the disk cache, resulting in repeatedly rebuilding dependencies until some subsequent commit happened to modify BUILD files.
1 parent 30f5394 commit bc949b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ module.exports = {
139139
diskCache: {
140140
enabled: diskCacheEnabled,
141141
files: [
142+
...repositoryCacheFiles,
142143
'**/BUILD.bazel',
143144
'**/BUILD'
144145
],

0 commit comments

Comments
 (0)