lib/hyperstack/hotloader/short_cut.js in hyperstack-config-1.0.alpha1.8 vs lib/hyperstack/hotloader/short_cut.js in hyperstack-config-1.0.0.pre.alpha1
- old
+ new
@@ -2,8 +2,8 @@
window.Hyperstack = {
hotloader: function(port, ping) {
Opal.Hyperstack.$const_get('Hotloader').$listen(port || 25222, ping || Opal.nil)
}
}
-} /* else {
+} else {
throw 'Attempt to run hotloader during prerendering - make sure you import with the `client_only: true` option'
-} */
+}