简体   繁体   中英

After upgrade to Angular v13, Additional cache files modified on each change

I have recently upgraded a v12 project to v13, and every time I make a change to a file I am now presented with additional files every time I make a change to anything.

Does anyone know why this is happening? These are cache files.

In the example below, I made a simple change to a CSS file and am presented with the following modifications to be checked in to source control.

额外文件

I solved this by by adding /.angular/cache to.gitignore, but this is only part of it. The files were still showing up as tracked.

I had to untrack these files, and I did this top-to-bottom with:

git rm -r --cached .
git add .

This seems to have resolved it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM