Giter VIP home page Giter VIP logo

Comments (5)

bonfish avatar bonfish commented on August 20, 2024

@vpArth, I had the same problem solved by specifying an array of globs: first setting the one for files and then the universal one. Like this:

gulp.src(['js/**/*.js', 'js/**'], {read: false});

That way, the files seem to be selected prior to folders.

It looks like an issue of gulp itself or even glob-stream, not the plugin.

from gulp-clean.

vpArth avatar vpArth commented on August 20, 2024

Thanks, @bonfish. I solve it almost same way :)
But I think it's not so hard to add some silent flag, which will just ignore absent files, while clean.

from gulp-clean.

xlaywan avatar xlaywan commented on August 20, 2024

I solved it like this:
gulp.src(['js/*'], {read: false})

from gulp-clean.

rbarilani avatar rbarilani commented on August 20, 2024

The solution of @xlaywan doesn't work in my case.

from gulp-clean.

vpArth avatar vpArth commented on August 20, 2024

Repo is deprecated

from gulp-clean.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.