-
Notifications
You must be signed in to change notification settings - Fork 62
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
Skipping files seems broken #65
Comments
👍 I am hitting this as well clean: {
dest: ['<%= config.dest %>/**', '!<%= config.dest %>/CNAME']
} Note that skipping files seems to work fine when using a destination path with extensions, but doesn't skip files when destination path matches a directory. My expectation was that a directory shouldn't be cleaned if it contains an excluded file. |
Same here!
Any idea ? |
Same issue with this:
|
👍 |
There is no code in But yes, I'd like to see that as well. Either that or please fix the documentation accordingly. |
@Vadorequest You may be able to achieve exclusion of sub-directory with something like this instead: [
'./WebContent/scripts/**/*.*',
'!./WebContent/scripts/views/**/*'
] The problem with your original is that the first rule, To prove that this works, see the For @Nemikolh's case, I'd try matching not the ['js/**/*.*', '!js/main.js'] For @milton-rodriguez-uruit's case, I'd try matching any files under [
'<%= globalConfig.src %>/**/*.js',
'<%= globalConfig.src %>/**/*.map',
'!<%= globalConfig.src %>/**/bower_components/**/*.*'
] |
This is a pretty frustrating issue! Anybody know of an alternative plugin that allows this? |
Any news about this bug? |
Took me some time to find this. Please fix it. |
Same issue, will require some super janky code until fixed. |
My case:
I want to remove everything in my-theme but keep everything in acf-json. This rule simply removes everything in my-theme. |
This being still open means someone needs to update the .md file, the answer can be found in this old issue thread: #15 Specifically the reply from https://coderwall.com/p/fkdyag helped me.
changed to:
Should work, or in the OPs simpler question |
The following configuration does not skip the
js/main.js
file:Is it intented ?
The text was updated successfully, but these errors were encountered: