lib/hyperstack-loader.js in hyperstack-config-1.0.alpha1.5 vs lib/hyperstack-loader.js in hyperstack-config-1.0.alpha1.6
- old
+ new
@@ -1,6 +1,8 @@
//= require hyperstack-loader-system-code
//= require hyperstack-loader-application
//= require hyperstack-hotloader-config
-Opal.load('hyperstack-loader-system-code')
-Opal.load('hyperstack-loader-application')
+Opal.loaded(OpalLoaded || [])
+Opal.require('hyperstack-loader-system-code')
+Opal.loaded(OpalLoaded || [])
+Opal.require('hyperstack-loader-application')
Hyperstack.hotloader(Hyperstack.hotloader.port, Hyperstack.hotloader.ping)