Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

placeholder option not work correctly in Windows #8

Closed
c01nd01r opened this issue Oct 13, 2015 · 2 comments
Closed

placeholder option not work correctly in Windows #8

c01nd01r opened this issue Oct 13, 2015 · 2 comments

Comments

@c01nd01r
Copy link

Faced with a particular problem in Windows.
In MacOS work perfectly.

gulp-jade-globbing: Warning!
  glob pattern did not match any files.
  pattern:      ..\*.jade
  placeholder:  {blocks}

gulpfile:

var blocks = 'app/blocks/**/*.jade';

gulp.task('jade', function(){
  gulp.src(['app/pages/index/index.jade'])
      .pipe(jadeGlobbing({
          placeholder: {
            'blocks': blocks
          }
        }))
    .pipe(jade())
    .pipe(gulp.dest('public/'));
});

index.jade:

include {blocks}

ls app/blocks/logo/:

logo.jade
logo.styl
Win8x64
node -v 4.2.0
gulp -v 3.9.0
gulp-jade-globbing -v 0.1.9
@c01nd01r
Copy link
Author

Okey, I found "solution"
For Windows need write:

var blocks = 'app\\blocks\\**\\*.jade';

@CREEATION
Copy link
Owner

Sorry, I'm currently unable to further develop this package. I hope this will change soon.
Glad to hear you "solved" it, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants