gulp-community/gulp-livereload

The option `start: true` doesn't seem to work

dmitriz opened this issue · 2 comments

There is an unexpected bug in how the option {start: true} is working.
I am using this file:

https://github.com/dmitriz/gulp-automation/blob/gulp-lr-start/Gulpfile.js

When I first run gulp, I get this console error:

Failed to load resource: net::ERR_CONNECTION_REFUSED

Only when I modify and save index.html and manually reload, the LiveReload starts working.

It can only be fixed by adding

gulpLivereload.listen();

but it would be cleaner only to run it when I need it, that is inside gulp.watch.

leo commented

Hey, @dmitriz! Just wanted to let you know that I've created a standalone fork of this repo, since it doesn't seem to be maintained anymore. You can find it here.

So I might be a good idea to re-open this issue there.

Hi @leo, I'm using your version, but your repo doesn't have the issues tab.