{"_id":"vscode-gulp-watch","_rev":"8-db0af157e7ab21f24dcecabdf5f9ea96","name":"vscode-gulp-watch","dist-tags":{"latest":"5.0.3"},"versions":{"5.0.2":{"name":"vscode-gulp-watch","version":"5.0.2","keywords":["gulp","watch","gulpplugin"],"author":{"name":"Vsevolod Strukchinsky"},"license":"MIT","_id":"vscode-gulp-watch@5.0.2","maintainers":[{"name":"bpasero","email":"benjpas@microsoft.com"}],"homepage":"https://github.com/floatdrop/gulp-watch#readme","bugs":{"url":"https://github.com/floatdrop/gulp-watch/issues"},"dist":{"shasum":"0060ba8d091284a6fbd7e608aa318a9c1d73b840","tarball":"https://registry.npmjs.org/vscode-gulp-watch/-/vscode-gulp-watch-5.0.2.tgz","fileCount":4,"integrity":"sha512-l2v+W3iQvxpX2ny2C7eJTd+83rQXiZ85KGY0mub/QRqUxgDc+KH/EYiw4mttzIhPzVBmxrUO4RcLNbPdccg0mQ==","signatures":[{"sig":"MEQCIBO8QM+GRXxPhGnBjl0HHDP278IsqDyQWwOotSxMFh+oAiAtWQzaZeo/xh65IUSmQR9TUcrmPcmcOtJeOXSjgpvNkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12111,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwSyACRA9TVsSAnZWagAAxYsP/2zguEN4FypC/FGTsOn+\nnD/rzbJ2x8Bhh7XkRkKRBUqV87xcT1Atf7aYhvOJ4/dmgZnHWCFdQyIgOV+7\nBaStqC7Y+s3MuhKnBk9U8Oz7R1QSoL6t9LVgIgUTz5PCAN6PH9qNo14xE0yg\na6O/9AJ2HfMhVLyehKDrECwCritINC8hMCXbRJ6JIdUNaoF9KdoT0uYMPkoT\n1BdOc0jJv2blg2zx4CgHNE9FLprdK/OV1wsC3MZYulUB3vzjsnIZofiaaUmL\n0oPa7QaGg4cr2MuzgDs5TuNJ7KAGVRekgSkSE9MHGKht3ajZzXPasP4dh4Q3\nb2Fsrg4jb3SMv8wBQ+kHa/z1spnx40wGGgK3VBeq+jFz7ZOyVZwAQH3+YxDS\nAklropyaHhnMMq15jpeiPSIWvSw7paEIHt5Z4xuuGNLtnjE3cq6BLeRVT8CJ\nYg08SKCxIgs5pP14weLQf8p7NxVHklrVzmtc4jOI6Y6FvCmouRC9XYGT9iOH\nV/jL5qiOFmO08Kys33bfJ2ZJ0ewXyhX77mxgLpLA/j7HIjjACCuDKVx1YKvj\n/yFVkkEa2md0MCx4hpPIFPtlEmD0zTbn3DHi89G80qK+xPx/6yO6u6f5Is63\njB1SnGfENFOo7CnwUx87Rp/heiV2BgxFh+5hLgpQDm19lc0kQwOWOuBLWyfd\nU3Pu\r\n=sehQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engine":"node >= 0.10","gitHead":"636205be9bc7c9b283ac5ef037da6c669ec0ac00","scripts":{"test":"xo && mocha -r test/util/set-default-options -t 5000 -R spec test/test-*","coverage":"istanbul cover node_modules/.bin/_mocha --report html -- -r test/util/set-default-options -R spec","coveralls":"istanbul cover _mocha --report lcovonly -- -r test/util/set-default-options -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"_npmUser":{"name":"bpasero","email":"benjpas@microsoft.com"},"repository":{"url":"git://github.com/floatdrop/gulp-watch.git","type":"git"},"_npmVersion":"6.12.0","description":"Watch, that actually is an endless stream","directories":{},"_nodeVersion":"12.13.0","dependencies":{"vinyl":"^2.1.0","anymatch":"^1.3.0","chokidar":"3.3.0","fancy-log":"1.3.2","vinyl-file":"^2.0.0","ansi-colors":"1.1.0","glob-parent":"^3.0.1","plugin-error":"1.0.1","object-assign":"^4.1.0","normalize-path":"^3.0.0","readable-stream":"^2.2.2","path-is-absolute":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.10.1","mocha":"^2","sinon":"^1.9.1","rimraf":"^2.2.8","should":"~7","istanbul":"^0.3.0","coveralls":"^2.7.0","proxyquire":"^1.0.1","strip-ansi":"^3.0.0","stream-assert":"^2.0.1","mocha-lcov-reporter":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/vscode-gulp-watch_5.0.2_1572940927847_0.9532238190901767","host":"s3://npm-registry-packages"}},"5.0.3":{"name":"vscode-gulp-watch","version":"5.0.3","keywords":["gulp","watch","gulpplugin"],"author":{"name":"Vsevolod Strukchinsky"},"license":"MIT","_id":"vscode-gulp-watch@5.0.3","maintainers":[{"name":"bpasero","email":"benjpas@microsoft.com"}],"homepage":"https://github.com/microsoft/vscode-gulp-watch#readme","bugs":{"url":"https://github.com/microsoft/vscode-gulp-watch/issues"},"dist":{"shasum":"1ca1c03581d43692ecb1fe0b9afd4256faeb701b","tarball":"https://registry.npmjs.org/vscode-gulp-watch/-/vscode-gulp-watch-5.0.3.tgz","fileCount":4,"integrity":"sha512-MTUp2yLE9CshhkNSNV58EQNxQSeF8lIj3mkXZX9a1vAk+EQNM2PAYdPUDSd/P/08W3PMHGznEiZyfK7JAjLosg==","signatures":[{"sig":"MEYCIQDSkT9EhziUS8yPgDj+CqPJX9ozUj7d8vHI9tdVljpCFAIhAMX3D0eBKuA3i/1NCyUpZJDaOg+LDQLpQ09uLBT+gW4U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE9QvCRA9TVsSAnZWagAACiMP/Al16NqjCjd2ySjFzbOR\n5F2SDN4uqnCNVrhvfhEjoXMS9PlibG8Q4FF4vsE1Ez2L45EKRa+E0ZcM494t\nXQUML/E61LiMZY2zgYUJDzDazsSH1l76H2ZkBH8qN1aLkO2umk5Mn+E8ysD2\n2eNHsQNhVrC94mjteeaU3W9RHokAMiXcZvE1kVf9p+ORALPJ8DKb3O8puCXQ\ngyOiryPwKx4vC+KKxpEW4+Cnue67xDq4AgY4WfPw+ROYpG9vXADGtZoj3P8+\n9Z5non7xtSR93row5TPdz80QEMCX0Q2DeOueDyzOqHNLbBZiUvjZxdplitKW\n8y9HksDIcFBDqO3K3zZBdyP6OZJLZYgc8QN5FbSGV5iXB/fwFQCI3+CBX/MI\nzqKtJWD9BlW3MEX8/FvgL80dlX7AEhLVDyptc03JoGe5JRU8f2I6e/PP5bgr\nbrNIP1GtISXCJGO3XaxgQOJYWJcvNuRnNi86Z51pAG8nB1hNWXihvOc+r2Uk\nHIcbYNNJFtFQaYXM88ENV0jSJGGGxzunU9Hw3uEAdekuHaxWhuJF21FpwU1B\nn25f/CnBdtu4hadgJv9LSYDbGlzlkA3hu6ldn27JdsJ+P6DseZtkhKgZao47\nqSJ6ZVaUPLLritPad9h49c4BZK1bvFKOiA5Ddnb7MN3ujYBepTUe+kj7XalM\noaQL\r\n=XnR4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engine":"node >= 10","gitHead":"7eab6791759e5e9a436d1fe600bd69532f37c83a","scripts":{"test":"xo --ignore ./test/fixtures/ && mocha -r test/util/set-default-options -t 5000 -R spec test/test-*","coverage":"istanbul cover node_modules/.bin/_mocha --report html -- -r test/util/set-default-options -R spec","coveralls":"istanbul cover _mocha --report lcovonly -- -r test/util/set-default-options -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"_npmUser":{"name":"bpasero","email":"benjpas@microsoft.com"},"repository":{"url":"git://github.com/microsoft/vscode-gulp-watch.git","type":"git"},"_npmVersion":"7.3.0","description":"Watch, that actually is an endless stream","directories":{},"_nodeVersion":"15.5.1","dependencies":{"vinyl":"^2.2.0","anymatch":"^3.1.1","chokidar":"3.5.1","fancy-log":"^1.3.3","vinyl-file":"^3.0.0","ansi-colors":"4.1.1","glob-parent":"^5.1.1","plugin-error":"1.0.1","object-assign":"^4.1.1","normalize-path":"^3.0.0","readable-stream":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.33.0","mocha":"^8.1.2","sinon":"^9.0.3","rimraf":"^3.0.2","should":"~13.2.3","istanbul":"^0.4.5","coveralls":"^3.1.0","proxyquire":"^2.1.3","strip-ansi":"^6.0.0","stream-assert":"^2.0.3","mocha-lcov-reporter":"1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/vscode-gulp-watch_5.0.3_1611912239315_0.9004207342096093","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-11-05T08:02:07.846Z","modified":"2026-09-28T04:53:19.808Z","5.0.2":"2019-11-05T08:02:08.058Z","5.0.3":"2021-01-29T09:23:59.488Z"},"bugs":{"url":"https://github.com/microsoft/vscode-gulp-watch/issues"},"author":{"name":"Vsevolod Strukchinsky"},"license":"MIT","homepage":"https://github.com/microsoft/vscode-gulp-watch#readme","keywords":["gulp","watch","gulpplugin"],"repository":{"url":"git://github.com/microsoft/vscode-gulp-watch.git","type":"git"},"description":"Watch, that actually is an endless stream","maintainers":[{"email":"alexdima@microsoft.com","name":"alexandrudima"},{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"lszomoru@microsoft.com","name":"lszomoru"},{"email":"vscode-bot-npm@microsoft.com","name":"vscode-bot"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"}],"readme":"# [gulp](https://github.com/gulpjs/gulp)-watch [![Build Status: Linux][travis-image]][travis-url] [![Build Status: Windows][appveyor-image]][appveyor-url] [![Dependency Status][depstat-image]][depstat-url]\n\nFile watcher that uses super-fast [chokidar](https://github.com/paulmillr/chokidar) and emits vinyl objects.\n\n## Installation\n\n```\nnpm install --save-dev gulp-watch\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp'),\n    watch = require('gulp-watch');\n\ngulp.task('stream', function () {\n\t// Endless stream mode\n    return watch('css/**/*.css', { ignoreInitial: false })\n        .pipe(gulp.dest('build'));\n});\n\ngulp.task('callback', function () {\n\t// Callback mode, useful if any plugin in the pipeline depends on the `end`/`flush` event\n    return watch('css/**/*.css', function () {\n        gulp.src('css/**/*.css')\n            .pipe(gulp.dest('build'));\n    });\n});\n```\n\n> __Protip:__ until gulpjs 4.0 is released, you can use [gulp-plumber](https://github.com/floatdrop/gulp-plumber) to prevent stops on errors.\n\nMore examples can be found in [`docs/readme.md`](/docs/readme.md).\n\n## API\n\n### watch(glob, [options, callback])\n\nCreates a watcher that will spy on files that are matched by `glob` which can be a\nglob string or array of glob strings.\n\nReturns a pass through stream that will emit vinyl files\n(with additional `event` property) that corresponds to event on file-system.\n\n#### Callback `function(vinyl)`\n\nThis function is called when events happen on the file-system.\nAll incoming files that are piped in are grouped and passed to the `events` stream as is.\n\n * `vinyl` — is [vinyl](https://github.com/wearefractal/vinyl) object that corresponds to the file that caused the event. Additional `event` field is added to determine what caused changes.\n\nPossible events:\n\n * `add` - file was added to watch or created\n * `change` - file was changed\n * `unlink` - file was deleted\n\n#### Options\n\nThis object is passed to the [`chokidar` options](https://github.com/paulmillr/chokidar#api) directly. Options for [`gulp.src`](https://github.com/gulpjs/gulp/blob/master/docs/API.md#options) are also available. If you do not want content from `watch`, then add `read: false` to the `options` object.\n\n#### options.[ignoreInitial](https://github.com/paulmillr/chokidar#path-filtering)\nType: `Boolean`  \nDefault: `true`\n\n> Indicates whether chokidar should ignore the initial add events or not.\n\n#### options.events\nType: `Array`  \nDefault: `['add', 'change', 'unlink']`\n\nList of events, that should be watched by gulp-watch. Contains [event names from chokidar](https://github.com/paulmillr/chokidar#events).\n\n#### options.base\nType: `String`  \nDefault: `undefined`\n\nUse explicit base path for files from `glob`. Read more about `base` and `cwd` in [gulpjs docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#options).\n\n#### options.name\nType: `String`  \nDefault: `undefined`\n\nName of the watcher. If it is present in options, you will get more readable output.\n\n#### options.verbose\nType: `Boolean`  \nDefault: `false`\n\nThis option will enable verbose output.\n\n#### options.readDelay\nType: `Number`  \nDefault: `10`\n\nWait for `readDelay` milliseconds before reading the file.\n\n#### options.read\nType: `Boolean`  \nDefault: `true`\n\nSetting this to `false` will return `file.contents` as null and not read the file at all. Most useful as an optimization if your plugins pipeline doesn't make use of the file contents (e.g. `gulp-clean`), or to avoid reading the file twice if you use `gulp.src()` inside the callback instead of the file object that is passed as argument.\n\n### Methods\n\nReturned `Stream` from constructor has some useful methods:\n\n * `add(path / paths)`\n * `unwatch(path / paths)`\n * `close()`\n\n### Events\n\nAll events from [chokidar](http://npmjs.com/chokidar):\n\n * `add`, `change`, `unlink`, `addDir`, `unlinkDir`, `error`, `ready`, `raw`\n\n\n### [Changelog](https://github.com/floatdrop/gulp-watch/releases)\n\n## License\n\nMIT (c) 2014 Vsevolod Strukchinsky (floatdrop@gmail.com)\n\n[npm-url]: https://npmjs.org/package/gulp-watch\n[npm-image]: http://img.shields.io/npm/v/gulp-watch.svg?style=flat\n\n[travis-url]: https://travis-ci.org/floatdrop/gulp-watch\n[travis-image]: http://img.shields.io/travis/floatdrop/gulp-watch.svg?style=flat\n\n[appveyor-url]: https://ci.appveyor.com/project/floatdrop/gulp-watch/branch/master\n[appveyor-image]: https://ci.appveyor.com/api/projects/status/gmjwsqmxht1m131s/branch/master?svg=true\n\n[depstat-url]: https://david-dm.org/floatdrop/gulp-watch\n[depstat-image]: http://img.shields.io/david/floatdrop/gulp-watch.svg?style=flat\n","readmeFilename":"README.md"}