-
-
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
Run Gulp 4 tasks programmatically from other files #2203
Comments
You really don't want to do this. The power of having "tasks" and running them is all in the CLI. You'll likely be able to find a much better way to achieve your goals than trying to run gulp tasks programatically. |
@phated Actually, I do want to achieve this because I'm trying to wrap around gulp and gulp extensions. Are there any real limitations that makes this impossible to achieve? |
There's no reason to wrap around gulp. You likely want custom registries (documentation coming in the future). |
@phated How do you know I don't have a good reason for that!? :)
Is there any tests/ issues where I can learn a little bit more about this API? |
Because this has been my life for 3 years and I've explored everything. The things people want are either handled by custom registries or a custom CLI.
Have you used the search feature of github? It's been discussed before. |
Still, I'm trying to achieve something different - Maybe you haven't explored everything then ;)
Yes, I have, but Github's search sometimes mixes a lot of undesired information about the repository. |
@thiagomajesk sounds good. I'm going to lock this because we don't provide support on this forum. If you have further support needs, you can email us for paid support. |
Hi, I'd like to know if this is currently supported (or there's a workaround to it)...
What I'm trying to achieve is basically calling gulp tasks defined in other files without using the cli.
For instance, define a generic gulp task in a file:
And call it from another function:
PS.: I've looked into some SO questions, but the (scarce) answers for Gulp v4 were not enough to put me in any directions (at least in the way I needed).
The text was updated successfully, but these errors were encountered: