app/assets/lookbook/js/app.js in lookbook-0.2.1 vs app/assets/lookbook/js/app.js in lookbook-0.2.2
- old
+ new
@@ -41,7 +41,9 @@
});
// Init
window.Alpine = Alpine;
-reloader(window.SOCKET_PATH).start();
+if (window.SOCKET_PATH) {
+ reloader(window.SOCKET_PATH).start();
+}
Alpine.start();