Angular v12.1 enables opt-in usage of the file system cache! Add `NG_PERSISTENT_BUILD_CACHE=1` to any ng command to: 🧨 Turn on persistent build cache ♻️ Improve the build by caching build results on disk and re-use the result for future builds
Thank you to @AlanAgius4 for github.com/angular/angula…, making the second build warm instead of cold! 🔥
@angular Could this be a pre-cursor for incremental static regeneration with SSR? 👀😜
@angular 'NG_PERSISTENT_BUILD_CACHE' is not recognized as an internal or external command, operable program or batch file.... What am I missing?
@angular Great work @AlanAgius4, im going to give this a try soon!
@angular Interesting. My project first build time is 235495ms (around 4 minutes) and with this option it's down to 28939ms (48 seconds). Amazing 😀
@angular not worki'NG_PERSISTENT_BUILD_CACHE' is not recognized as an internal or external command,ng , with version 12.1.1
@angular Has anybody tried this in Windows 10? How to use this as it's throwing an error, not a recognized command.