Get rid of livereload dependency. Draft Baroque (still some issues)
[xogo.git] / app.js
diff --git a/app.js b/app.js
index 12c2b7a..a8f447b 100644 (file)
--- a/app.js
+++ b/app.js
@@ -390,6 +390,10 @@ const messageCenter = (msg) => {
     case "closerematch":
       toggleVisible("newGame");
       break;
+    case "filechange":
+      // TODO?: could be more subtle
+      location.reload();
+      break;
   }
 };