sonicoder86 / angular2-babel-esnext-starter

Angular development and testing examples with Babel in Javascript (ES6/ES7).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do the starter removes livereload script in the index.html?

aflext opened this issue · comments

Hi,i just wonder what's behind the process of gulp dist when the starter removes the <script>(function(){document.write('<script src="http://'+window.location.hostname+':35729\/livereload.js" type="text\/javascript"><\/script>');}).call(this);</script>.

It is solved by using the gulp-delete-lines package and it strips lines which contain /livereload/.