Closed ivanprotsko closed 7 years ago
Tell me, please. Why don't work this code?
gulp.task('scripts', function() { return gulp.src('build/js/*/.js') .pipe(watch('build/js/*/.js')) .pipe(concat('app.js')) .pipe(babel({ presets: ['es2015'] })) .pipe(gulp.dest('public/js/')) .pipe(livereload({ start: true })); });
Don't work Watch and Concat at the same time.
If delete row "", then Concat is working.
Do me a favor, tell me, how i can use "gulp-concat" with "gulp-watch"?
Ask the gulp-watch people, no idea what they have going on over there. I think that plugin is blacklisted and unmaintained.
Tell me, please. Why don't work this code?
gulp.task('scripts', function() { return gulp.src('build/js/*/.js') .pipe(watch('build/js/*/.js')) .pipe(concat('app.js')) .pipe(babel({ presets: ['es2015'] })) .pipe(gulp.dest('public/js/')) .pipe(livereload({ start: true })); });
Don't work Watch and Concat at the same time.
If delete row "", then Concat is working.
Do me a favor, tell me, how i can use "gulp-concat" with "gulp-watch"?