-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean All Except? #38
Comments
Check out |
Perfect! thanks |
@shama Not working consistently for me. +1 |
Apparently you must use exclude the directory and all its children, e.g.: {
// ...
files: {
'!path/to/your/directory'
, '!path/to/your/directory/**/*'
}
// ...
} |
@adjohnson916 |
You also seem to have to use object.files notation. I used an array of paths before and that didn't work. Works:
Doesn't work:
|
This is probably more of a feature request but it might be nice to do clean all except a file or dir?
The text was updated successfully, but these errors were encountered: