gulp-livereload
gulp-livereload copied to clipboard
How to set directory or file to be watched without relying on a previous task
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.
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.
Thanks for the suggestion, Leo.