guy
7 years ago
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||||||
|
(function() { |
||||||
|
var newEl = document.createElement('script'), |
||||||
|
firstScriptTag = document.getElementsByTagName('script')[0]; |
||||||
|
|
||||||
|
if (firstScriptTag) { |
||||||
|
newEl.async = 1; |
||||||
|
newEl.src = '//' + window.location.hostname + ':35729/livereload.js'; |
||||||
|
firstScriptTag.parentNode.insertBefore(newEl, firstScriptTag); |
||||||
|
} |
||||||
|
|
||||||
|
})(); |
Loading…
Reference in new issue