Base for gulp.src is empty if working directory has braces
See original GitHub issueRelative gulp version: 4
Create any directory with brackets i.e “gulp (brackets)”
- create readme.md file
- create simple gulpfile
const gulp = require('gulp');
gulp.task('default', function () {
return gulp.src('readme.md')
.pipe(gulp.dest('dist'));
})
- run gulp
Actual result: In directory dest we can see readme.md inside “gulp (brackets)” directory
Expected result: In directory dest we can see readme.md file
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Gulp src returns empty file - Stack Overflow
When files are saved debug is checking the gulp.src output and most of the time it shows files with proper content but from...
Read more >Gulp for Beginners | CSS-Tricks
Gulp is a tool that helps you out with several tasks when it comes to web development. It's often used to do front...
Read more >Webpack or Browserify & Gulp: Which Is Better? - Toptal
Finally, we have gulp.watch , which watches a glob file pattern for changes, and when a change is detected, runs a series of...
Read more >Rebecca Rumble - Page 4 of 5 - Programmer, Web Developer and ...
Creates a file called theme.scss in the sass directory. $ npm install gulp --save-dev. Install Gulp to the directory. This will update your...
Read more >CoffeeScript
To install, first make sure you have a working copy of the latest stable ... Compile a directory tree of .coffee files in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems that it is caused by isGlob and globParent implementation where isGlob evaluates such folder name as glob…
Thanks to the debugging by @lukaskostial / @heikki / @stevelacy and great work by @doowb this has been fixed in v5.3.3 of glob-stream