Gulp: Include folder tree, except one folder -


i want gulp.src include file , folders in src directory, except src/devpackages directory, src/devpackages directory not copied gulp.dest. how can that? tried gulp.src(['src/**/*', '!src/devpackages/**']), gulp.dest creates src/devpackages, leaves empty.

gulp.src([     basedir + '/**',                              // include     '!' + basedir + '/src/devpackages{,/**}',               // exclude devpackages ], { dot: true }); 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -