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
  • !1569

add debounce feature

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/hiroqn/4.0 into 4.0 Mar 17, 2016
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: hiroqn

#1304 (closed)

need opt.wait option for debounce in watch function because, fn is wrapped gulp.parallell so we cant use like this.

gulp.watch(glob, debounce(gulp.series(scripts, unitTests), 200));

(https://github.com/gulpjs/gulp/blob/4.0/index.js#L42)

  if (typeof task === 'function') {
    fn = this.parallel(task);
  }

or no wrap fn gulp.parallell

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/hiroqn/4.0