Compare commits

..

4 Commits

Author SHA1 Message Date
5b0a1edaa4 1.2.3 2016-04-04 22:55:10 +02:00
855e9b48c8 update deps 2016-04-04 22:55:06 +02:00
99db113285 1.2.2 2016-04-04 22:43:38 +02:00
844812311e fix Readme issue 2016-04-04 22:43:26 +02:00
2 changed files with 5 additions and 5 deletions

View File

@ -46,6 +46,6 @@ Each function can return a promise. the pipe stop will finish when every promise
* the following options are available: * the following options are available:
* "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop. * "forFirst" - executes when first chunk/vinylfile of the stream reaches the pipestop.
file is pushed further down the line when function's returned promise is fullfilled. file is pushed further down the line when function's returned promise is fullfilled.
* "atEnd" - executes like "forFirst" but with every chunk/vinylfile in the stream; * "forEach" - executes like "forFirst" but with every chunk/vinylfile in the stream;
* "atLast" - executes after all chunks have passed and are processed in full. * "atEnd" - executes after all chunks have passed and are processed in full.
That means the stream's "finish" event fires before "atLast" is executed!!! That means the stream's "finish" event fires **before "atLast" is executed**!!!

View File

@ -1,6 +1,6 @@
{ {
"name": "gulp-function", "name": "gulp-function",
"version": "1.2.1", "version": "1.2.3",
"description": "accepts a function call as parameter to execute in gulp pipeline", "description": "accepts a function call as parameter to execute in gulp pipeline",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
@ -25,7 +25,7 @@
}, },
"homepage": "https://github.com/pushrocks/gulp-function", "homepage": "https://github.com/pushrocks/gulp-function",
"dependencies": { "dependencies": {
"beautylog": "^3.1.2", "beautylog": "^3.1.4",
"q": "^1.4.1", "q": "^1.4.1",
"through2": "^2.0.1" "through2": "^2.0.1"
}, },