Exclude specific folders with Gulp -


if have following structure, how can exclude folders format "xx_yy" except "en_us" within gulp.src?

images/    |_ en_us/    |_ en_gb/ (this should ignored)    |_ de_de/ (this should ignored)    |_ etc etc... 

something should work you:

var images = [     'images/**/*',     '!images/en_gb/**/*',      '!images/de-de/**/*' ];  gulp.src(images)... 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -