ng serve with --poll option causing infinite reloads

Viewed 852

After upgrading to Angular 12, my application is suffering from infinite reloads. This was working fine in Angular 11. I can only assume that something somewhere is putting files into the area being watched by angular. I've tried running serve in both production and development and it doesn't seem to make a difference. I can see no files being generated

The full command I am running is

ng serve --poll 1000

If I remove the poll command, it works fine (and then my changes are not picked up). This issue also occurs on ng build --poll 1000 --watch.

enter image description here

What can I try to remedy this? Is there a way I can tell angular to say why it rebuilt?

1 Answers
Related