Hello,
I think I noticed issue with negative glob 🤔
Files structures looks like this:
foo/foo.html
bar/bar.html
gulpfile.js
Here goes the task
const {src, dest} = require('gulp');
module.exports.default = () => src(['**/*.html', '!bar/']).pipe(dest('dest'));
After running this task dest dir contains bar.
I expected dest dir not to include bar.
I made repl.it for this issue https://repl.it/@plesiecki/InvolvedIndianredProgramminglanguages. You can reproduce with single click (by clicking green run button at the top of the page). Remember to delete dest directory before you run the task (if it exists)
Gulp 4
Node 10.12.0
Npm 6.4.1
Hello,
I think I noticed issue with negative glob 🤔
Files structures looks like this:
Here goes the task
After running this task
destdir containsbar.I expected
destdir not to includebar.I made repl.it for this issue https://repl.it/@plesiecki/InvolvedIndianredProgramminglanguages. You can reproduce with single click (by clicking green run button at the top of the page). Remember to delete
destdirectory before you run the task (if it exists)Gulp 4
Node 10.12.0
Npm 6.4.1