-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Gulp 4 Alpha 3 not handling src correctly #2093
Comments
@jonschlinkert @doowb can you guys help out here? |
I'll take a look in a little bit. |
@Dan503 I'm not able to reproduce the issue that you're having. I used I also installed gulp and gulp-cli with the following commands: npm i -g gulp-cli
npm i gulp@next |
I created a repo with some mock files to show what I'm seeing: https://github.com/doowb/gulp-issue-2093.git @Dan503 let me know if the folder structure looks like what you're expecting. |
I'm not able to take a look right now, can you check gulp.watch is working in the mean time? |
In the reduced test case that you created, it looks like it's all working as expected. It must be an issue with my set up. Thanks for creating the test environment. I'll close the watch issue as well. It seems like that is working on your test environment as well. |
I created a pull request in your mini gulp set up that is able to successfully replicate the issue |
@Dan503 as @jonschlinkert points out in this comment you shouldn't be using I'm going to close this since it isn't a bug. |
What were you expecting to happen?
I have this basic copy task:
What should happen is that it looks in the
src/_scripts
folder and copies everything inside it into theapp/scripts
folder. It should ignore any file that either starts with an underscore, or is held in a folder that starts with an underscore.What actually happened?
It doesn't seem to understand the
!src/_scripts/{**/\_*,**/\_*/**}
syntax any more. I had to break it out into seperate "not" strings. It also didn't handle the "base" setting automatically like it is supposed to. It ended up saving the files intoapp/scripts/src/_scripts
instead ofapp/scripts/
. To fix the issues This is what I ended up with.What version of gulp are you using?
Gulp 4.0.0 aka 4-alpha.3
What versions of npm and node are you using?
npm: 5.5.1
Node: 6.12.0
(I know my node is out of date, I have a project that requires Node 6 to work)
The text was updated successfully, but these errors were encountered: