{"_id":"gulp-wait","_rev":"18-4ed6974d3d9c76a24c163adca5d5be1b","name":"gulp-wait","description":"A gulp task that inserts a delay before calling the next function in a chain.","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"gulp-wait","version":"0.0.1","description":"A gulp task that inserts a delay before calling the next function in a chain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/bpartridge83/gulp-wait.git"},"keywords":["gulp","wait","delay","gulpplugin"],"author":{"name":"Brian Partridge"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/bpartridge/gulp-wait/issues"},"dependencies":{"map-stream":"0.0.4"},"readme":"gulp-wait\n=========\n\nA gulp task that inserts a delay before calling the next function in a chain.\n\n## Example\n\nThe following example will watch for changes to templates and delay the livereload server refresh until after the nodemon script is expected to have restarted.\n\n```javascript\n// Gulpfile.js\nvar gulp = require('gulp')\n  , r = require('tiny-lr')\n  , refresh = require('gulp-livereload')\n  , nodemon = require('gulp-nodemon')\n  , wait = require('../gulp-wait')\n  , server = lr();\n\ngulp.task('dev', function () {\n\n  gulp.src('./index.js')\n    .pipe(nodemon());\n\n  server.listen(35729, function (err) {\n\n  \tif (err) return console.log(err);\n\n  \tgulp.watch('./app/views/**/*.html', function (e) {\n      gulp.src(e.path)\n        .pipe(wait(1500))\n        .pipe(refresh(server));\n    });\n\n  });\n\n})\n\n```\n\nYes, ideally there would be an event from nodemon to trigger the livereload.","readmeFilename":"README.md","homepage":"https://github.com/bpartridge83/gulp-wait","_id":"gulp-wait@0.0.1","dist":{"shasum":"77a8e651e58bdbe5daac28851b9ac576ca3fc750","tarball":"https://registry.npmjs.org/gulp-wait/-/gulp-wait-0.0.1.tgz","integrity":"sha512-vBZ9W2eF6/3QK0aeD5ZElK7bLZCX0zYl/vWYRaPHg+uIthOkYjkhJ3G1T9Nai7jxmPvxpMzXt6BJ8i/J80yvYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAcaC4l5PtGmqCEzUevgCOTYA6+W+0vq3L+yYsTERKUUAiEAmQOszB+u8t025J2yZ/k7+yIOC5fAM5HZVEyBHMsZgb8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"bpartridge83","email":"contact@brianpartridge.com"},"maintainers":[{"name":"bpartridge83","email":"contact@brianpartridge.com"}],"directories":{}},"0.0.2":{"name":"gulp-wait","version":"0.0.2","description":"A gulp task that inserts a delay before calling the next function in a chain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/bpartridge83/gulp-wait.git"},"keywords":["gulp","wait","delay","gulpplugin"],"author":{"name":"Brian Partridge"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/bpartridge/gulp-wait/issues"},"dependencies":{"map-stream":"0.0.4"},"readme":"gulp-wait\n=========\n\nA gulp task that inserts a delay before calling the next function in a chain.\n\n## Example\n\nThe following example will watch for changes to templates and delay the livereload server refresh until after the nodemon script is expected to have restarted.\n\n```javascript\n// Gulpfile.js\nvar gulp = require('gulp')\n  , r = require('tiny-lr')\n  , refresh = require('gulp-livereload')\n  , nodemon = require('gulp-nodemon')\n  , wait = require('../gulp-wait')\n  , server = lr();\n\ngulp.task('dev', function () {\n\n  gulp.src('./index.js')\n    .pipe(nodemon());\n\n  server.listen(35729, function (err) {\n\n  \tif (err) return console.log(err);\n\n  \tgulp.watch('./app/views/**/*.html', function (e) {\n      gulp.src(e.path)\n        .pipe(wait(1500))\n        .pipe(refresh(server));\n    });\n\n  });\n\n})\n\n```\n\nYes, ideally there would be an event from nodemon to trigger the livereload.","readmeFilename":"README.md","homepage":"https://github.com/bpartridge83/gulp-wait","_id":"gulp-wait@0.0.2","dist":{"shasum":"ecebff4446e1a0d537cb1dc773dbd4581d17fb2d","tarball":"https://registry.npmjs.org/gulp-wait/-/gulp-wait-0.0.2.tgz","integrity":"sha512-USbMbSDoDZ74U7wnbime09ZGH3Un9ILxOqymqP1gwWZ/Y4utmeDVei8fOioK3DAwjJSil3S3hMe58Bp6ZUDNfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb/Kac2JS6N87mxATAlbhMqLFgaoJx4vnkiPmI177hTwIhAMPzNlpYijHsbf/moclDcsnoXph0tTY5BXK1ziO05svJ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"bpartridge83","email":"contact@brianpartridge.com"},"maintainers":[{"name":"bpartridge83","email":"contact@brianpartridge.com"}],"directories":{}}},"readme":"gulp-wait\n=========\n\nA gulp task that inserts a delay before calling the next function in a chain.\n\n## Example\n\nThe following example will watch for changes to templates and delay the livereload server refresh until after the nodemon script is expected to have restarted.\n\n```javascript\n// Gulpfile.js\nvar gulp = require('gulp')\n  , r = require('tiny-lr')\n  , refresh = require('gulp-livereload')\n  , nodemon = require('gulp-nodemon')\n  , wait = require('../gulp-wait')\n  , server = lr();\n\ngulp.task('dev', function () {\n\n  gulp.src('./index.js')\n    .pipe(nodemon());\n\n  server.listen(35729, function (err) {\n\n  \tif (err) return console.log(err);\n\n  \tgulp.watch('./app/views/**/*.html', function (e) {\n      gulp.src(e.path)\n        .pipe(wait(1500))\n        .pipe(refresh(server));\n    });\n\n  });\n\n})\n\n```\n\nYes, ideally there would be an event from nodemon to trigger the livereload.","maintainers":[{"name":"bpartridge83","email":"contact@brianpartridge.com"}],"time":{"modified":"2022-06-18T18:16:26.378Z","created":"2014-01-08T20:48:54.849Z","0.0.1":"2014-01-08T20:48:55.875Z","0.0.2":"2014-01-08T21:05:43.675Z"},"author":{"name":"Brian Partridge"},"repository":{"type":"git","url":"https://github.com/bpartridge83/gulp-wait.git"},"users":{"flip4bytes":true,"abass":true,"shaneparsons":true,"joshukraine":true,"tdmalone":true,"companjero":true,"jaimegvalero":true}}