title: How to remove middleware in OWIN?
body: <p>I have registered an OWIN middleware in <code>Configuration</code> method. How can I then change remove the middleware.</p>
  
  <p>Particularly, I want to modify (remove/add) StaticFiles middleware after some files are changed (which I would like detect by FileSystemWatcher).</p>
  
  <p><em>NOTE:</em> There is <a href="https://stackoverflow.com/questions/18602578/proper-way-to-remove-middleware-from-the-express-stack">a similar question</a> regarding Connect of Node.js (which I consider where idea of OWIN come from).</p>