Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify only appears on some gulp tasks #116

Open
SKempin opened this issue Feb 6, 2017 · 1 comment
Open

Notify only appears on some gulp tasks #116

SKempin opened this issue Feb 6, 2017 · 1 comment

Comments

@SKempin
Copy link

SKempin commented Feb 6, 2017

I am experiencing an issue where the notify only works on certain gulp tasks. For example it works on a SASS to CSS compilation task, but will not work on the simple copy task below. I'm not getting any console errors to assist with this?

gulp.task('pdf-copy', function() {
    return gulp.src(paths.pdf)
        .pipe(gulp.dest(paths.distpdf))
        .pipe(size({
            pretty: true,
            showFiles: true
        }))
        .pipe(notify("PDF task complete"));
});
@FaisalHussain95
Copy link

Hi,

I'm not having this issue, but i wanted to comment on your code.
I had an issue with a similar code of mine, using notify on a copy paste of multiple files will result on multiple call of notify Similar issue

You should use the onLast option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants