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

Gulp seems not to finish task #19

Open
nvioli opened this issue Feb 12, 2015 · 5 comments
Open

Gulp seems not to finish task #19

nvioli opened this issue Feb 12, 2015 · 5 comments

Comments

@nvioli
Copy link

nvioli commented Feb 12, 2015

The plugin seems to be working correctly; i.e. the styleguide is generated, but gulp does not seem to report that the task has completed. Here's my taskdef:

gulp.task('styleguide-main',function(){
    return gulp.src([paths.metaRoot + 'www/css2015/**/*.less'])
        .pipe(plugins.kss({
            overview:           paths.metaRoot + 'www/css2015/styleguide.md',
            templateDirectory:  paths.metaRoot + 'www/css2015/styleguide-template/'
        }))
        .pipe(gulp.dest(paths.staticOut + 'styleguide/'));
});

and when I run it on the commandline I only get:

nvioli-4:node nvioli$ gulp styleguide-main
[16:46:32] Using gulpfile ~/git/node/gulpfile.js
[16:46:32] Starting 'styleguide-main'...
nvioli-4:node nvioli$

All other tasks report "Finished".

Please let me know if I can provide any more information.

@nvioli
Copy link
Author

nvioli commented Feb 12, 2015

Verified it's the same without the overview or templateDirectory defined, i.e.

.pipe(plugins.kss())

has the same result.

@jamie-pate
Copy link

index.js endStream() function needs

            self.emit('end')

at the end

@jamie-pate
Copy link

Looks to be fixed by
4af6b82 ??

@nvioli
Copy link
Author

nvioli commented Mar 27, 2015

Yes I just pulled the latest version of index.js direct from github and this issue is solved.

However this means that the version installed via npm install is out of date. Do you need to push a new version over there?

@demersdesigns
Copy link

@PhilJ Manually pasting in the contents of index.js into the version pulled from NPM works as expected. Would it be possible to get the latest version pushed to NPM?

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

3 participants