gulp-livereload icon indicating copy to clipboard operation
gulp-livereload copied to clipboard

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

Open yeger opened this issue 9 years ago • 3 comments

yeger avatar Nov 28 '15 10:11 yeger

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?

cveld avatar Aug 18 '16 12:08 cveld

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

2016-08-18 17:43 GMT+05:00 cveld [email protected]:

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 https://github.com/vohof/gulp-livereload/issues/108#issuecomment-240711369, or mute the thread https://github.com/notifications/unsubscribe-auth/APUENO9WxkA5qPq6ekChQKFImZzK165Gks5qhFNvgaJpZM4GqzPu .

yeger avatar Aug 18 '16 13:08 yeger

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/

cveld avatar Aug 22 '16 06:08 cveld