Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.
/ gulp-debug Public archive
forked from sindresorhus/gulp-debug

Debug vinyl file streams to see what files are run through your gulp pipeline

License

Notifications You must be signed in to change notification settings

PointSource/gulp-debug

 
 

Repository files navigation

gulp-debug Build Status

Debug vinyl file streams to see what files are run through your gulp pipeline

Install

$ npm install --save-dev gulp-debug

Usage

var gulp = require('gulp');
var debug = require('gulp-debug');

gulp.task('default', function () {
	return gulp.src('foo.js')
		.pipe(debug({title: 'unicorn:'}))
		.pipe(gulp.dest('dist'));
});

API

debug(options)

options

title

Type: string
Default: 'gulp-debug:'

Give it a custom title so it's possible to distinguish the output of multiple instances logging at once.

minimal

Type: boolean
Default: true

By default only relative paths are shown. Turn off minimal mode to also show cwd, base, path.

The stat property will be shown when you run gulp in verbose mode: gulp --verbose.

License

MIT © Sindre Sorhus

About

Debug vinyl file streams to see what files are run through your gulp pipeline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%