Answer the question
In order to leave comments, you need to log in
Why doesn't Gulp create files and see changes?
I installed the node and gulp on Win8, everything got up without any problems, but when I start the gulp itself, it writes to the console that everything is fine, all tasks have been completed, the watch is running. In fact, no new files have been created, and when files change, tasks are not launched.
gulp.task('css-dev', function() {
gulp.src('dev/less/*.less')
.pipe(sourcemaps.init())
.pipe(less())
.pipe(sourcemaps.write())
.pipe(autoprefix({
browsers: ['last 4 versions', 'ie 8']
}))
.pipe(concat('style.css'))
.pipe(gulp.dest('dev/css/'))
.pipe(connect.reload())
});
Answer the question
In order to leave comments, you need to log in
Problem solved. The path must be specified without a slash at the beginning :)
I had a similar problem, but everything was correct. That is, absolutely everything.
M - magic: restarted the terminal, the file was created.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question