gulp-newer

Gulp Changed doesn't work

非 Y 不嫁゛ 提交于 2019-12-18 09:04:17
问题 I have previously used gulp changed with my JS without a problem. However now I am trying to use gulp-changed and gulp-newer on my scss files without it detecting which file has changed. var changed = require('gulp-changed'); var newer = require('gulp-newer'); var SRC = './stylesheets/**/*.scss'; var DEST = './stylesheets'; gulp.task('sass', function () { return gulp.src(SRC) .pipe(changed(DEST)) //tried newer here as well .pipe(sass()) .pipe(gulp.dest(DEST)) }); When changing a scss file it

Gulp Vinyl FTP using Gulp newer is not noticing changes in files and is therefore not deploying UPDATE: TIME ZONE ISSUE

可紊 提交于 2019-12-06 05:54:45
问题 RESOLVED: I built a gulp plugin to solve the problem... https://www.npmjs.com/package/gulp-mtime-correction The issue I'm having is that my gulp task using Vinyl-FTP and Gulp-Newer doesn't seem to be noticing changes in my files and therefore is not sending the changes via FTP. So here are the FTP gulp settings/tasks in gulpfile.js // FTP settings const FTP = { connOpts : { host : 'ftp.****.co.uk', user : '****', password : '*****', parallel : 10, log : gutil.log }, directoryPath :

Gulp Changed doesn't work

怎甘沉沦 提交于 2019-11-29 15:00:42
I have previously used gulp changed with my JS without a problem. However now I am trying to use gulp-changed and gulp-newer on my scss files without it detecting which file has changed. var changed = require('gulp-changed'); var newer = require('gulp-newer'); var SRC = './stylesheets/**/*.scss'; var DEST = './stylesheets'; gulp.task('sass', function () { return gulp.src(SRC) .pipe(changed(DEST)) //tried newer here as well .pipe(sass()) .pipe(gulp.dest(DEST)) }); When changing a scss file it will output there has been a change but not change any scss [BS] Watching files... [09:26:13] Starting