-
Notifications
You must be signed in to change notification settings - Fork 89
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
Duplication of files (in wrong dirs) when doing multiple dir copies #310
Comments
tmarshall
added a commit
to ConjureLabs/hob
that referenced
this issue
Apr 24, 2018
^ full taskfile content (with |
Hi, i guess it is known issue, this is because when you run run tasks in parallel they started at the same time and share same internal context. That's why some internal vars polluted. Simple fix will be just to use |
@hzlmn did that, but seems non-intuitive. Can't scope context per job? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a taskfile that has a portion like this:
taskr build
is myyarn build
This should copy all
.js
files and.
files (specifically.gitignore
) fromprocs
todist/procs
It should also copy all
.
files (specifically.eslintrc
and.jscsrc
) fromconf
todist/conf
When run, it is copying
.eslintrc
and.jscsrc
to bothdist/conf
anddist/procs
.If I change the content of
function copyDirs
toawait task.serial(['copyProcs', 'copyConf'])
it works as expected.Not sure what the reason it.
The text was updated successfully, but these errors were encountered: