Skip to content

Releases: floatdrop/gulp-watch

v5.0.0

07 Jan 05:59
Compare
Choose a tag to compare

Major:

Dependency updates:

  • vinyl was updated to ^2.1.0 (02bd06d)
  • chokidar was updated to v2.0.0 (9208d48)

v4.3.11

19 Nov 08:28
Compare
Choose a tag to compare

Added support for Node v7.

v4.1.1

08 Feb 14:01
Compare
Choose a tag to compare

Base property of files, that matched non-glob patterns is now set to path.dirname(glob). More info in #135.

v4.1.0

08 Feb 14:00
Compare
Choose a tag to compare

Initial adds is now disabled by default. You can enable them with ignoreInitial: true option.

v4.0.0

21 Jan 17:27
Compare
Choose a tag to compare

In short:

  • Migration from gaze to chokidar - this will improve stability and responsiveness of gulp-watch
  • Events on directory creation is now filtered out
  • By default all files (that matched globs) will be emitted on first run with add event
  • close() is now not necessary (if you don't use persistent option)
  • Event names changed (added -> add, modified -> change and deleted -> unlink)
  • All logging now hidden in verbose option
  • Lots of issues should be fixed

v3.0.0

21 Jan 06:25
Compare
Choose a tag to compare

gulp-batch was removed, so callback is changed. Now it passes just vinyl object to you. Also callback now not catching errors inside and reemits them to stream.

v2.0.0

21 Jan 06:26
Compare
Choose a tag to compare

Before 2.0.0 version there was a bug in gulp-batch - it does not prevent tasks to execute in same time. In 2.0.0 version of gulp-batch was bumped.

This can cause your watch tasks to hang, if you do not calling done in callback or returning Stream/Promise from it.

v1.0.0

21 Jan 06:26
Compare
Choose a tag to compare
  • watch is not emmiting files at start - read «Starting tasks on events» and «Incremental build» for workarounds.
  • watch is now pass through stream - which means that streaming files into watch will not add them to gaze. It is very hard to maintain, because watch is not aware about glob, from which this files come from and can not re-create vinyl object properly without maintaining cache of the base properties of incoming files (yuck).
  • array of tasks is not accepted as callback - this was not working anyway, but rationale behind it - requiring gulp and calling internal method start is bad. This feature will become more clear, when gulp 4.0.0 will be released with new task system. Read «Starting tasks on events» for right way to do it.