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

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

Open dmitriz opened this issue 9 years ago • 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.

dmitriz avatar Apr 28 '15 06:04 dmitriz

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.

leo avatar Feb 17 '16 13:02 leo

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

leocaseiro avatar Mar 16 '17 23:03 leocaseiro