nickdodd79 / vscode-gulptasks

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

Define gulp task location? #5

Closed Graloth closed 6 years ago

Graloth commented 6 years ago

Is it possible to define where the gulpfile.js is located? I'm working with a rather large project with multiple gulp files, but I only need to work on 1 of them.

nickdodd79 commented 6 years ago

Hi @Graloth,

You sure can. Check out the "gulptasks.discovery.dir" setting in VS Code and see if that fulfils your needs (can be absolute or relative to the workspace root).

If not, let me know and I can make some adjustments.

Nick.

Graloth commented 6 years ago

That did indeed work for me, is there a file which lists the available settings? Just so I can see if there are other things I might want to customize :)

nickdodd79 commented 6 years ago

Awesomes. Glad it worked.

You can see all the 'contributions' an extension provides on it's page in VS Code. Part of those contributions are it's settings. Here is a snip of what it should look like.

image

Graloth commented 6 years ago

Awesome, did not know that, thanks a lot!

gilluminate commented 6 years ago

I know this is closed, but I'd like to mention that giving an option for specifying the specific file location would be nice. For example, we have more than one in the same directory, so they obviously aren't both named "gulpfile.js" as this extension assumes. Or maybe even an option to specify a filename to look for in addition to the directory.

nickdodd79 commented 6 years ago

Makes sense. I'll put something together.

nickdodd79 commented 6 years ago

Hi,

This is in place now and will go with the next release. Got one more thing to add before I publish though so give it a few days.

Nick.

nickdodd79 commented 6 years ago

Hi,

Version 0.0.9 that include a config option to specify a gulp file to load. If that can't be resolve it falls back to the normal discovery process.

Nick.