1.2.3 • Published 9 years ago

gulp-src-viewer v1.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

gulp-src-viewer

Tool for testing gulp.src() glob patterns

What this does

Launches locally-served page that shows what files are returned by gulp.src() based on globs you enter.

Install

npm install gulp-src-viewer -D

Usage

In your gulpfile.js

var gulp = require('gulp');
var gsv = require('gulp-src-viewer');

gulp.task('gsv', function() {
  gsv(gulp);
});

then run

gulp gsv

and a webpage for testing globs will open (or go to http://localhost:3333).

License

MIT

FAQ

Webpage doesn't launch

The gulp-src-viewer server crashes and console shows

[gulp-src-viewer] Server listening on port 3333

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: EISDIR, read

These versions of gulp have some issues with symlinks:

  • 3.8.0
  • 3.9.0

These are ok:

  • 3.6.0
  • 3.7.0

¯\_(ツ)_/¯

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago