-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
I can't exclude a directory from being copied over when using a src glob. Here's my task:
gulp.task('copy', function() {
return gulp.src(['app/**', '!app/_tmp/**'])
.pipe(gulp.dest('dist'));
});Gulp copies over app/**, but app/_tmp/ is still being copied.
Expected:
+ app/
+ tmp/
file1
file2
+ css/
styles.css
+ js/
app.js
+ dist/
+ css/
styles.css
+ js/
app.jsGulp output:
+ app/
+ tmp/
file1
file2
+ css/
styles.css
+ js/
app.js
+ dist/
+ tmp/
+ css/
styles.css
+ js/
app.jsUpdate: Clarified that the dist/_tmp/ directory does not contain any files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels