nickdodd79 / vscode-gulptasks

A gulp task visualization and execution extension for Visual Studio Code
MIT License
8 stars 6 forks source link

cwd arg points to root of workspace instead of gulpfile's path #21

Open sebastiencyr opened 6 years ago

sebastiencyr commented 6 years ago

Hi,

The new cwd argument added to the gulp commands points to the root of a workspace.

Since a gulpfile may not be at that location, this breaks some tasks.

The issue can be circumvented by specifying a cwd as a parameter for gulp.src for example but maybe the default should be the gulpfile's path?

Anyway, thanks for the great extension!

sebastiencyr commented 6 years ago

Nevermind. It's not working with the cwd parameter either.

sebastiencyr commented 6 years ago

OK so the cwd parameter works but it must be specified for everything that uses a path like src and dest.

So the best thing would be for the cwd argument to point to the gulpfile instead.

nickdodd79 commented 6 years ago

Hi @cutterax

I think we may be looking into this issue already. @aaronmanela is this what you are addressing in #17?

Nick.