gulp-community / gulp-livereload

gulp plugin for livereload
768 stars 67 forks source link

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

Open dmitriz opened 9 years ago

dmitriz commented 9 years ago

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 8 years ago

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.

leocaseiro commented 7 years ago

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