Why Chrome doesn't update Typescript source files on change? Why Chrome doesn't update Typescript source files on change? google-chrome google-chrome

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.

enter image description here


I solved this by removing the cached files manually. This can be done through Chrome's settings:

  1. Click on Customize and control Google Chrome - the burger menu icon in the top right corner of the browser window.
  2. Select Settings near the bottom of the menu.
  3. Scroll down and click on the Show advanced settings... link.
  4. Click on the Clear browing data... button.
  5. Check Cached images and files. The other checkboxes can be left unchecked.
  6. 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>