How do I setup gulp live-reload, it doesnt seem to be doing anything.
this is part of my gulpfile:
var livereload = require('gulp-livereload'),
lr = require('tiny-lr');
gulp.task('css', function(){
gulp.src(sassdir)
.pipe(sass({style:'compressed'}))
.pipe(prefix('last 4 version'))
.pipe(gulp.dest(cssdir))
.pipe(livereload(lr()));
});
I've tried gulp connect and gulp live reload with and without tiny-lr.
If it helps, I'm running an apache webserver on a vagrant VM (ubuntu) with host pc windows. VM has static IP of 192.168.33.10.