Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gulp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gulp
  • gulp
  • Merge requests
  • !351

Another strategy for incremental builds

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/tschaub/patch-1 into master Mar 17, 2014
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: tschaub

While the gulp-changed and gulp-cached plugins work great with 1:1 src:dest file mapping, they should not be used for n:1 src:dest mapping. With plugins like gulp-concat, css-sprite, etc. that generate a single output file given many input files, you want to compare the modification time of the output file to the modification file of each input file (and use all if any are newer).

The gulp-newer plugin works with both 1:1 and n:1 src:dest mapping by comparing mtime.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tschaub/patch-1