You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No prob, and thanks! I dug into it a bit, but the function that does the matching is passed pretty deep into dependencies, debugging was beyond my ken.
Turns out this is the fragile nature of passing things into minimatch that start with a dot. Changing it to ./**/*.scss seems to resolve the symptom. Leaving this open as that's hardly a great user experience.
robrich
changed the title
Matchers return true on empty streams
Leading dot on glob leads to unexpected results
Oct 1, 2015
It looks like the glob and regex matchers return true on empty streams. When I run the following tasks on a directory with no scss files:
gulpDebug
is fired both times.This is mostly an issue when running gulp-changed along with a task that takes a while to spin up or errors with an empty stream.
I didn't test function conditions, so not sure what happens there.
The text was updated successfully, but these errors were encountered: