Answer the question
In order to leave comments, you need to log in
Why doesn't LiveReload work in gulp?
In general, it is not possible to achieve the LiveReload effect in gulp. Everything seems to be correct, but something is wrong... Here is the code:
var gulp = require('gulp'),
concatCSS = require('gulp-concat-css'),
rename = require('gulp-rename'),
notify = require('gulp-notify'),
autoprefixer = require('gulp-autoprefixer'),
livereload = require('gulp-livereload'),
connect = require('gulp-connect'),
minifyCSS = require('gulp -minify-css');
gulp.task('connect', function() {
connect.server({
root: 'app',
livereload: true
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question