I'm using gulp to copy all files from one dir to another using code like this:
gulp.src([ 'app/**/*' ]).pipe(gulp.dest('dist'));
Glob docs say *
match all files, but in fact files which have names starting with dot, like .gitignore
, are not copied.
How can it be worked around?