Index: tools/gformat.py
===================================================================
--- tools/gformat.py	(revision 14035)
+++ tools/gformat.py	(revision 14045)
@@ -1496,12 +1496,15 @@
     refresh_rate = 5
     output = "[INFO] Updating subverion, please wait...\n"
+    old_version = subprocess.Popen([SVNVERSION, '-c', "%s/.." % NODE_DIR], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
     output += subprocess.Popen([SVN, 'cleanup', "%s/.." % NODE_DIR], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
     output += subprocess.Popen([SVN, 'up', "%s/.." % NODE_DIR], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
-    try:
-        generate_static(CACHE_DIR, False)
-    except:
-        output += traceback.format_exc()
-        refresh_rate = 120
-        pass
+    new_version = subprocess.Popen([SVNVERSION, '-c', "%s/.." % NODE_DIR], stderr=subprocess.STDOUT, stdout=subprocess.PIPE).communicate()[0]
+    if old_version != new_version:
+        try:
+            generate_static(CACHE_DIR, False)
+        except:
+            output += traceback.format_exc()
+            refresh_rate = 120
+            pass
     output += "[INFO] All done, redirecting in %s seconds" % refresh_rate
     response_headers += [
