Open doze opened 1 year ago
Okay, I found out that I can solve this for now by modifying how the exports are done.
So instead of this:
exports.buildZip = buildZip;
Do this if you have changed the display name of the task:
exports['build-zip'] = buildZip;
But I guess Task Explorer could still look up the display name for the export and use that if configured (Gulp Tasks extension works with the display names without changing the export).
Display names for gulp tasks does not seem to be supported by the Task Explorer.
If you set a display name to a Gulp task in the gulpfile:
Using gulp -T shows tasks with the defined display name and they can be run with that name (only):
But task explorer still shows the tasks under gulp with the function names, not with the display names:
And it also runs the task with the function name, not the display name, so gulp complains it does not find the task:
Would it be possible to get the displayName attribute supported for gulp tasks?