foosel/OctoPrint — pull request #201 by CapnBry (2013-07-21 10:54:28+00:00)
Title: Refresh gcode visualization if the selected file is modified

This passes the file modification time to the javascript side and if
they don't match then the file is re-downloaded and parsed. The mtime
is also used in the AJAX request as it prevents the browser from serving
the new request from cache.