Questions tagged [gulp-newer]

A Gulp plugin for passing through only those source files that are newer than corresponding destination files.

A Gulp plugin for passing through only those source files that are newer than corresponding destination files.

https://www.npmjs.com/package/gulp-newer

12 questions
5
votes
1 answer

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

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…
Matt Wills
  • 676
  • 6
  • 11
4
votes
1 answer

Gulp-watch typescript files and publish only changed files

In Visual Studio 2015, I am tracking the changes done on my TS files so that I can copy the generated JS files and output them to my wwwroot directory. However, whenever I do a change on a single TS file, all of them are built and outputted to the…
raberana
  • 11,739
  • 18
  • 69
  • 95
4
votes
2 answers

How to make gulp-newer work with gulp-rev?

The setup is as simple as this: gulp.task('rev-js', function() { return gulp.src('/js/main.js, {base: '.'}) .pipe(newer('_build')) .pipe(rev()) .pipe(gulp.dest('_build')) .pipe(rev.manifest()) …
Tigran Petrossian
  • 1,158
  • 1
  • 7
  • 16
3
votes
0 answers

Gulp - delete old bundles when new are formed

I am really new to gulp and I am struggling with making a build process which seems fairly simple but I am not able to crack it. What I want to achieve is that all my js and css files to be bundled and bundled to be named as all_*.min.js where * is…
3
votes
1 answer

Gulp Changed doesn't work

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 =…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
2
votes
2 answers

How to use gulp-newer?

I'm new to gulp and I tried to follow the documentation in https://www.npmjs.com/package/gulp-newer to understand how it works. However its not working as expected for the below task. I think I'm missing something obvious. Here's the folder…
Pramodh
  • 186
  • 2
  • 13
2
votes
2 answers

gulp-changed / gulp-newer + gulp-rename don't work

I try to bypass minifying, resizing and renaming already processed images, and adding 'gulp-changed' changed nothing for me; all the files are processed, еvery time. I tried 'gulp-newer' instead, but still with no luck. Later, I've figured out - if…
Mikhail Vasin
  • 2,421
  • 1
  • 24
  • 31
0
votes
0 answers

Edited partial file doesn't update

I'm using gulp-newer on my project to check which html file have been updating, and to prevent the reload of every html file in the project. Everything is working fine except the partial files. If I edit something in a partial the file will be…
Victor Allegret
  • 2,344
  • 3
  • 18
  • 31
0
votes
0 answers

Notify If the Stream Continued Pass a Pipe or Instead Ended at Pipe - Node - Gulp - JS

Update - The more I dig into this... the more I think it has to do with node. I using gulp-newer and gulp-notify, which includes node-notifier. When I run a tasks that doesn't produce any new files, because newer doesn't see any changes and jumps…
RooksStrife
  • 1,647
  • 3
  • 22
  • 54
0
votes
1 answer

gulp: pass only files changed in pipe

I try to sort through files, substitute text in some and save only changed. In my current code gulp-changed does nothing. const gulp = require('gulp'); const changed = require('gulp-changed'); const replace =…
Mikhail Vasin
  • 2,421
  • 1
  • 24
  • 31
0
votes
1 answer

Get Gulp pipes of dependencies

I have a gulpfile with some tasks. All task are combined in a default task, that has dependencies to all others tasks. I want to add a deploy task. The deploy can take a list of files. I want only deploy changed files. Is there a way to get the…
sschoof
  • 1,531
  • 1
  • 17
  • 24
0
votes
0 answers

Occassional Gulpfile freakout using gulp-changed and/or gulp-newer and and upload task

I've written a nice little build script that runs some pretty standard tasks like... Cleaning out my deploy/ directory before initially Building, concatenation, uglifying, and copying files from their dev/ directories to associated deploy/…