Sha256: 9cb6d9eb9bf99eea59b1ddcbb6dbb7df2366ec4f235a22d559f0ba340d1b81f1

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

if (typeof window !== 'undefined') {
  window.Hyperstack = {
    hotloader: function(port, ping) {
      Opal.Hyperstack.$const_get('Hotloader').$listen(port || 25222, ping || Opal.nil)
    }
  }
} /* else {
  throw 'Attempt to run hotloader during prerendering - make sure you import with the `client_only: true` option'
} */

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hyperstack-config-1.0.alpha1.8 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.7 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.6 lib/hyperstack/hotloader/short_cut.js
hyperstack-config-1.0.alpha1.5 lib/hyperstack/hotloader/short_cut.js