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-sketch task not completing #34

Open
ronakdigite opened this issue Jul 27, 2017 · 0 comments
Open

gulp-sketch task not completing #34

ronakdigite opened this issue Jul 27, 2017 · 0 comments

Comments

@ronakdigite
Copy link

ronakdigite commented Jul 27, 2017

Hi,
I am trying to run an independent gulp task, which will convert all my sketch files in a folder to pngs in another folder.

I am running the following task as per the given syntax:

gulp.task('sketch', function(){
return gulp.src('sketch-files/*.sketch')
.pipe(sketch({
export: 'artboards',
formats: 'png'
})).on('error', gutil.log)
.pipe(gulp.dest('preview'));
});

The task starts but never ends and i am thrown out of the gulp task. No pngs generated either...
I am using gulp-sketch 1.0.5 and sketch version 45.2

Folder structure,
---gulpfile.js
---sketch-files
---preview
all at the same level

Terminal Output:
untitled-1

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

1 participant