gulp-community/gulp-livereload

if the project a few pages, change the html - page is updated on the first try

yeger opened this issue · 3 comments

yeger commented
if the project a few pages, change the html - page is updated on the first try
cveld commented

I am experiencing that in many cases the signal towards the listening browser is triggered BEFORE the actual file has been changed on disk and/or consumed by the live reload server.
The result being that the page is refreshed, but with the old content. What to do?

yeger commented

Hello! I had change reload plugin to browser-synс, and the problem is
solved ... samsa )

2016-08-18 17:43 GMT+05:00 cveld notifications@github.com:

I am experiencing that in many cases the signal towards the listening
browser is triggered BEFORE the actual file has been changed on disk and/or
consumed by the live reload server.
The result being that the page is refreshed, but with the old content.
What to do?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#108 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APUENO9WxkA5qPq6ekChQKFImZzK165Gks5qhFNvgaJpZM4GqzPu
.

cveld commented

Indeed, I have changed the stack towards Express/tiny-lr and now everything works fine! There are many tutorials out there to set this up; e.g. http://rhumaric.com/2014/01/livereload-magic-gulp-style/