browser-sync
Version:
Live CSS Reload & Browser Syncing
19 lines (18 loc) • 513 B
HTML
<script id="__bs_script__">//<![CDATA[
(function() {
try {
var script = document.createElement('script');
if ('%async%') {
script.async = true;
}
script.src = '%script%'.replace("HOST", location.hostname);
if (document.body) {
document.body.appendChild(script);
} else if (document.head) {
document.head.appendChild(script);
}
} catch (e) {
console.error("Browsersync: could not append script tag", e);
}
})()
//]]></script>