My Visual Studio Code on a Windows machine continues to show the previous file contents even after updating it, and it notepad ++ doesn't behave like this.
notepad ++
Is there a way to somehow clear the cache to get fresh content every time?
I think I understood correctly. You can follow the steps below.
This will solve your problem.
The following worked for me on macOS :
Then for the search results: