HyperReload
HyperReload copied to clipboard
[FUNC] Create library hyper.js
Create a library named hyper.js that contains hyper.log mapped to console.log, and other functions.
Move functionality from injected reloader script to hyper.js, to make functions available also when running code not served by HyperReload (no reloaded script injected) .
Add script tag for hyper.js to injection code in hyper-server.js, insert it before the reloader script tag.