Skip to content

Commit adf925c

Browse files
alan-agius4dgp1130
authored andcommitted
fix(@angular-devkit/build-angular): display FS cache information when verbose option is used
With this change we enabling Webpack to display additional cache related logs when the `verbose` option is enabled. This is helpful to debug cache misses. (cherry picked from commit 4719300)
1 parent 09c3826 commit adf925c

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/webpack/utils

1 file changed

+1
-0
lines changed

packages/angular_devkit/build_angular/src/webpack/utils/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export function getCacheSettings(
126126

127127
return {
128128
type: 'filesystem',
129+
profile: wco.buildOptions.verbose,
129130
cacheDirectory: path.join(cacheDirectory, 'angular-webpack'),
130131
maxMemoryGenerations: 1,
131132
// We use the versions and build options as the cache name. The Webpack configurations are too

0 commit comments

Comments
 (0)