I am using VS Code. Inside VS Code I use a git bash. I run my Angular app using the ng serve
from that git bash. All the time app would recompile itself if there would be changes made to the codebase.
But just now it stopped recompiling itself. Restart of the PC did not help.
Before the app stopped recompiling I was just writing code. I was not modifying any settings anywhere and I was not changing any Angular app related settings. I was literally writing some business logic in typescript in an Angular component.
I was hoping that someone had a similar issue, was able to solve it and would be generous to share a solution with me.
Just found out that the issue is directly related to VS Code. Because, after changing files using the Notepad++ the recompilation happens.
Even though I did not find a reason for the issue, I found a solution. Removing the node_modules
folder and running the npm i
afterwards solved the issue.