gulp.task('staging:screens', function () { gulp.src('./staging/*.html') .pipe(localScreenshots({ width: ['1600', '1000', '480', '320'], path: 'staging/', folder: './staging/screens/' })); });
gulp.task('screens', function () { return gulp.src('./src/demo.html') .pipe(screenshot({ width: ['1600', '1000', '480', '320'], path:'src', folder: './img' })); });
gulp.task('screenshot', function () { gulp.src('./build/**/*.html') .pipe(localScreenshots({ server: false, port: 3020, timeout: 500, type: 'png' })) });
gulp.task(tasks.screens.name, function() { return gulp.src(tasks.screens.src) .pipe(gshot(tasks.screens.opts)) .on('error', gutil.log); });