dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
26 stars 34 forks source link

Perf: Only glob for commands of that type when a command is passed in the cli args #281

Closed matt-gadd closed 5 years ago

matt-gadd commented 5 years ago

Type: feature

The following has been addressed in the PR:

Description: This is a simple perf fix for when running a single command. At the moment we glob for all commands even when a command is passed in the cli args. This just narrows it to only glob for that command as a prefix, ie running:

dojo test

previously would result in:

/node_modules/@dojo/cli-*

and now results in:

/node_modules/@dojo/cli-test-*
matt-gadd commented 5 years ago

Superseded by https://github.com/dojo/cli/pull/283