I have a JS file. I made a mistake in the ContractEvents.js file whereby I failed to enter two functions that I was calling. When I ran it in debug VS stopped at that line in the ContractEvents.js dynamic file and reported the function it was calling as being undefined. So I changed the ContractEvents.js file to add those two functions. The I ran the app again. The same thing happened. And the dynamic file still did not show those two functions. Puzzled I uncommented a "debugger" line in the function call the "missing' function. The debugger never was hit and when the ContractEvents.js dynamic file open to show the error, the "debugger" line was still commented out. At which point I realized that Visual Studio was running a cached version of my application.
Now when this used to happen in IIS on the server, we used to bounce IIS to clear its cache. However, when I stop debugging in VS, when I am using IIS Express, then as I understood it IIS Express stops when debugging stops. So I am already bouncing IIS Express just by running the VS Debug.
So I am baffled as to where to go from here as I have not found anything useful on the web (Stuff like Press ctl + shift + delete + enter, or "don't use Visual Studio")