title: Karma: no cache on file server
body: <p>When I do some setup on my test suite, I sometimes need to debug the produced html file.</p>
  
  <p>The good thing is, there is a <em>debug</em> feature: <a href="https://i.stack.imgur.com/tgMLM.png" rel="nofollow"><img src="https://i.stack.imgur.com/tgMLM.png" alt="debug button"></a></p>
  
  <p>In order to do that, I run <code>karma start --no-single-run</code>.</p>
  
  <p>But on every file change I make, I need to kill the process and restart it, otherwise, cached files are served:</p>
  
  <p><a href="https://i.stack.imgur.com/CCjv2.png" rel="nofollow"><img src="https://i.stack.imgur.com/CCjv2.png" alt="cached"></a></p>
  
  <p>How can I prevent the server from caching in this specific situation? Anyways, most of the time I run in <code>single-run</code> mode so caching hasn't much interest for me.</p>
  
  <p>Thanks</p>