Open ErynManela opened 6 years ago
If you want to add me to the project you can assign it to me, I'd be interested in solving the problem.
Hey @aaronmanela
I have added you as a contributor. Thanks for the help.
Nick.
Thank you much. Will get to work on this issue soon.
It shows a nice hierarchy of gulpfiles in subfolders (sub projects). But execution starts in the root folder instead of the subfolder. A cwd should do the trick.
Hey @kuntergunt
We already apply the cwd parameter.
I think the problem is when the extension loads it tries to resolve the path for the gulp process. However, in a workspace, this might needs to be different for each project. I am working on a solution that will resolve multiple instances of gulp and assign it to the task.
Nick.
If there are multiple folder assigned to a workspace, it throws an error - I think it is trying to assign the first gulpfile it finds to the first root it finds, which may not match.
Ideal behavior is for a single GulpService to be aware of all entries in the workspace.workspaceFolder[] (rather than the first entry, which is the same as the root) (https://code.visualstudio.com/docs/extensionAPI/vscode-api#_workspace) and present each in the explorer tree.