The option `start: true` doesn't seem to work
dmitriz opened this issue · 2 comments
dmitriz commented
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
leocaseiro commented
Hi @leo, I'm using your version, but your repo doesn't have the issues tab.