title: Local development (invoking python <script>, port 8888) serves stale files
body: <p>I had a similar issue when running fast-cgi and I was told there is no way to fix it: <a href="https://stackoverflow.com/questions/14679298/files-being-served-are-stale-cached-python-as-fcgi-web-py-nginx">Files being served are stale / cached ; Python as fcgi + web.py + nginx</a> without doing custom work. I was told to use the python  method, which invokes a local "web server" to host the python page.</p>
  
  <p>Even doing that, the files served are stale / cached. If I make edits to the files, save and refresh, the python web server is still serving the stale / cached file.</p>
  
  <p>The only way to get it to serve the modified file is to kill (ctrl+c) the script, and then restart...this takes about 5 seconds every-time and seriously impedes my development workflow. </p>
  
  <p>Ideally any change to the script would be reflected next time the page is requested from the web server. </p>
  
  <p>EDIT</p>
  
  <p>@Jordan: Thanks for the suggestions. I've tried #2, which yields the following error:</p>
  
  <pre><code>    app = web.application(urls, globals(), web.reloader)
  
  AttributeError: 'module' object has no attribute 'reloader'
  </code></pre>
  
  <p>Per the documentation here: <a href="http://webpy.org/tutorial2.en" rel="nofollow noreferrer">http://webpy.org/tutorial2.en</a></p>
  
  <p>I then tried suggestion #4, </p>
  
  <pre><code>web.config.debug = True
  </code></pre>
  
  <p>Both still cause 'stale' files to get served. </p>