{"_id":"@atomic-reactor/gulp-watch","_rev":"2-60f201438cb3dd500c4727abd48e51ee","name":"@atomic-reactor/gulp-watch","dist-tags":{"latest":"5.0.2"},"versions":{"5.0.1-patched":{"name":"@atomic-reactor/gulp-watch","version":"5.0.1-patched","description":"Fork of gulp-watch.","main":"index.js","keywords":["gulp","watch","gulpplugin"],"scripts":{"test":"xo && mocha -r test/util/set-default-options --bail --exit -t 10000 -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"},"repository":{"type":"git","url":"git://github.com/Atomic-Reactor/gulp-watch.git"},"author":{"name":"Vsevolod Strukchinsky"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/gulp-watch/issues"},"devDependencies":{"coveralls":"^3.0.6","istanbul":"^0.4.5","mocha":"^6","mocha-lcov-reporter":"1.3.0","proxyquire":"^2.1.2","rimraf":"^2.6.3","should":"~7","sinon":"^7.4.1","stream-assert":"^2.0.3","strip-ansi":"^5.2.0","xo":"^0.24.0"},"dependencies":{"ansi-colors":"4.1.1","anymatch":"^3.0.3","chokidar":"^2.0.0","fancy-log":"1.3.3","glob-parent":"^5.0.0","normalize-path":"^3.0.0","object-assign":"^4.1.1","path-is-absolute":"^2.0.0","plugin-error":"1.0.1","readable-stream":"^3.4.0","vinyl":"^2.2.0","vinyl-file":"^3.0.0"},"engines":{"node":"10.16.0","npm":">=6.9.0"},"xo":{"ignores":["test"]},"gitHead":"591eef6c5535d70f1971ae445f2e07662491816a","homepage":"https://github.com/Atomic-Reactor/gulp-watch#readme","_id":"@atomic-reactor/gulp-watch@5.0.1-patched","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"integrity":"sha512-4BwI5t300zu63r8rUc8k4qyta9tAD321dXchKzjiaP+tUfKfCoHM4EazYGueh6DjazuVAywKJjTQ0hVuQ9DZgg==","shasum":"6253a47dcf441dd1ca16010ca0f1e35cc87c8d8f","tarball":"https://registry.npmjs.org/@atomic-reactor/gulp-watch/-/gulp-watch-5.0.1-patched.tgz","fileCount":4,"unpackedSize":12168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTRClCRA9TVsSAnZWagAALDgP/3783ZfiO7H2XliCkpTf\nkibTaO2hQLv9vFwuQvUiTC4vKI+ZyfH7KfR8ZCzhIteKAzACIRomVRqQlejw\npluPAp1EvFZB+F14Qsl0hA+A0BC/A/D/rcs0yBR1+0Qg7FgWvKNmI59FysCR\ni6aaWclimVTviK6MMk3vi2o4lgs3B9ICKpFCLY8MWoRMgkbeggicaDXwpVfL\niIJASV3GFJuulwmtn9WMF6kky5IHytJht7uPR8PcyRoX7cRJqzc2XsIvpI2O\nn2ade/RfFQjGZyQjr7CbO7KijXtQzEdF1rK2OzzCK8C8Y4tyR7mvhtVqmiCt\nGhC4teS5dIGKTqGHk/Q9eO+XxoU90z3cCIavsDRhZter33aCrUdkIsyLchc+\nlcMIzIZKeu3MyPDMWolQT7+CdmLFERn9hcHusSeqMAVJhQBndV7V80RhER05\nQkf3JibCCVCPSD21L96hyNlkQBldaM0leldlckPTaDJVWEl1rhcjpvHfRUSq\n5skB/UqDryILMfcjD0P3flHvKXhLUng48u7o3ffv5LBSOLfrDK0R3o8BW8O6\nJNRNM24f0DsGeXWBjCwH4Z40qNrEuNXarumkLR/V6lmybM6VSbJHZT1DNVkO\n343xUmZkEOJFOIGXzlu+XruJYCvkGrucnQ0C2OLTb4UMWfTG49vT6/bxI3SR\nkd2h\r\n=F/R0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/EtMBFdSz0aKwVIBmAt/eYRkJj8uGoTxahYzLGBpvRAiEAiTKrClkkaEzvs0Mo86v1Cjh/lF2FVuWRGWP3YFZhCPM="}]},"maintainers":[{"name":"camdagr8","email":"ctullos@illumifi.net"},{"name":"jdillick","email":"john@dillick.us"}],"_npmUser":{"name":"jdillick","email":"john@dillick.us"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-watch_5.0.1-patched_1565331620882_0.5782115513959571"},"_hasShrinkwrap":false},"5.0.2":{"name":"@atomic-reactor/gulp-watch","version":"5.0.2","description":"Fork of gulp-watch.","main":"index.js","keywords":["gulp","watch","gulpplugin"],"scripts":{"test":"mocha -r test/util/set-default-options --bail --exit -t 10000 -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"},"repository":{"type":"git","url":"git://github.com/Atomic-Reactor/gulp-watch.git"},"author":{"name":"Vsevolod Strukchinsky"},"license":"MIT","bugs":{"url":"https://github.com/floatdrop/gulp-watch/issues"},"devDependencies":{"coveralls":"^3.0.6","istanbul":"^0.4.5","mocha":"^6","mocha-lcov-reporter":"1.3.0","proxyquire":"^2.1.2","rimraf":"^2.6.3","should":"~7","sinon":"^7.4.1","stream-assert":"^2.0.3","strip-ansi":"^5.2.0"},"dependencies":{"ansi-colors":"4.1.1","anymatch":"^3.0.3","chokidar":"^2.0.0","fancy-log":"1.3.3","glob-parent":"^5.0.0","normalize-path":"^3.0.0","object-assign":"^4.1.1","path-is-absolute":"^2.0.0","plugin-error":"1.0.1","readable-stream":"^3.4.0","vinyl":"^2.2.0","vinyl-file":"^3.0.0"},"engines":{"node":">=10.16.0","npm":">=6.9.0"},"xo":{"ignores":["test"]},"gitHead":"c35906e4cccd30c902183efdf7990a19732028ff","homepage":"https://github.com/Atomic-Reactor/gulp-watch#readme","_id":"@atomic-reactor/gulp-watch@5.0.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-fNE8c6WpcZK8JOCIGim4By+B79Y2NapcVv5tASXowTsdo671GpIDnT1YRjqGtMDiv6ozTSj/zAWApCM+L52h9w==","shasum":"c23468de921c429564eda1a6236eed51c57f3fec","tarball":"https://registry.npmjs.org/@atomic-reactor/gulp-watch/-/gulp-watch-5.0.2.tgz","fileCount":4,"unpackedSize":12143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1TFjCRA9TVsSAnZWagAA+qUP+wSdmJxLkrkJ/J/sD+Y3\nkIu5GeyxWIi8v9W/MdlotHxTBj9vqNZsH9g8lXB8KnkqDQ9F5zWFvStjPMPc\ng9gfSFr/8MJ83rOTG9l9Lpjj56pGHJeHcGAv4MnOICXjcbRxwwayCyrymgg8\nB2o9B9dn8HhCyzcRJtmqjnreUqAm7qjeIAZjGvI7KIc4d7TLLTQXwFeOFU31\nw/29wjB/7QpN5xnql5YAUxNuY5rtkLh+PPNzSWy6Q57IUOfy9rXNqu9yokm7\nrJ+tgwit4xbmVYIE4rkfkeH3oC6a4Bk3bjwTEQZZakpDQLFSlkadlx9KrRpT\nZARJj1MOnCGgFtaxbNEGOi4Tu2Zs35gfykpxHLsmmjoQ8I9LQ1NzDZdOQ7QR\nUF03H9MFZhbcPmHy3d0CHdVXDTXfCbmG4Qz69LYoVopoZ1LeaO66/uASkVf0\n0Ds8PdP4O+/Pt8J/9YySNJOQmCfGYKXR0wmBhctBO7eGP5qFRlP78oMNWBa2\nqTUJX0+h1ZYx1vbpIfKds2PjGVW0xVb88rSY9yWMJR6DzeC7lrBuZR3qHSfm\nw1CPqD5VvZw7RxoV9vGABYz0XdaH79u2g8QO9jqRnz4wHZMAS0r7/vzrYBxC\nLOmyeCzPRFKg0JUZa92pz+kMc1JSnDAWgMvI8L382MS4B0vQyiFVK+xabliZ\nGlu8\r\n=itQU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIJabXrfdD68hFinC3VDRkLP37Ofb/qDATti4xEV30lwIhAJ8b7eW1eAexCFY2DRzFlo9sswrrlvWl+nnVSsThhg/a"}]},"_npmUser":{"name":"jdillick","email":"john@dillick.us"},"directories":{},"maintainers":[{"name":"camdagr8","email":"ctullos@illumifi.net"},{"name":"jdillick","email":"john@dillick.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-watch_5.0.2_1624584547259_0.10979463894990138"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-09T06:20:20.881Z","5.0.1-patched":"2019-08-09T06:20:21.075Z","modified":"2022-04-04T16:14:41.506Z","5.0.2":"2021-06-25T01:29:07.400Z"},"maintainers":[{"name":"camdagr8","email":"ctullos@illumifi.net"},{"name":"jdillick","email":"john@dillick.us"}],"description":"Fork of gulp-watch.","homepage":"https://github.com/Atomic-Reactor/gulp-watch#readme","keywords":["gulp","watch","gulpplugin"],"repository":{"type":"git","url":"git://github.com/Atomic-Reactor/gulp-watch.git"},"author":{"name":"Vsevolod Strukchinsky"},"bugs":{"url":"https://github.com/floatdrop/gulp-watch/issues"},"license":"MIT","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"}