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

How to set directory or file to be watched without relying on a previous task

Open Francisc opened this issue 9 years ago • 2 comments

Hello,

How can I watch a folder or file without pipe()-ing livereload to a previous task. I would like to watch a folder or file wihout running a new task:

Something like this, no sass or css file before.

gulp.task('livereload',function()
{
    livereload({basePath:DIST_FOLDER,start:true});
    livereload.listen();
});

^ That's not a working example, it's for illustration.

Francisc avatar Oct 26 '15 16:10 Francisc

Hey, @Francisc ! 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

Thanks for the suggestion, Leo.

Francisc avatar Feb 18 '16 14:02 Francisc