Why Chrome doesn't update Typescript source files on change?
To I'm experiencing same problem. I solved this problem with chreome debug tools disable cache checked.
My second problem, i wrote a lot of class into a same file.i splice every class to seperate file.
I solved this by removing the cached files manually. This can be done through Chrome's settings:
- Click on Customize and control Google Chrome - the burger menu icon in the top right corner of the browser window.
- Select Settings near the bottom of the menu.
- Scroll down and click on the Show advanced settings... link.
- Click on the Clear browing data... button.
- Check Cached images and files. The other checkboxes can be left unchecked.
- Click on the Clear browing data button.
The 'Disable cache' checkbox in the network tab didn't work for me, nor did a Ctrl+F5.
If you are serving from IIS, We have manually disabled cache in our web.config
file :
<system.webServer> <httpProtocol> <!--TODO: Remove this block for production (//TODO: Remove this block for production) --> <customHeaders> <!--DISABLE CACHE--> <add name="Cache-Control" value="no-cache, no-store, must-revalidate" /> <add name="Pragma" value="no-cache" /> <add name="Expires" value="0" /> </customHeaders> </httpProtocol></system.webServer>