You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently jspm install -g mocha would create a global mocha bin in /path/to/global/jspm_packages/.bin/mocha.
The idea is that this global /path/to/global/jspm_packages/.bin can be added to the PATH to get global bins support.
When using that mocha command, a very common scenario is wanting to ensure you are using the right version of the mocha command locally.
The suggestion is this - what if we make all global commands check the local project (process cwd), for a local version of that same command and then use that if it is available?
This seems a very useful property to have for global command installs.
The downside is opting out of the behaviour if you don't want it but jspm bin -g mocha can remain an alias to the global version specifically providing an opt-out path too.
jspm itself would certainly take advantage of this feature.
The text was updated successfully, but these errors were encountered:
Currently
jspm install -g mocha
would create a global mocha bin in/path/to/global/jspm_packages/.bin/mocha
.The idea is that this global
/path/to/global/jspm_packages/.bin
can be added to the PATH to get global bins support.When using that mocha command, a very common scenario is wanting to ensure you are using the right version of the
mocha
command locally.The suggestion is this - what if we make all global commands check the local project (process cwd), for a local version of that same command and then use that if it is available?
This seems a very useful property to have for global command installs.
The downside is opting out of the behaviour if you don't want it but
jspm bin -g mocha
can remain an alias to the global version specifically providing an opt-out path too.jspm itself would certainly take advantage of this feature.
The text was updated successfully, but these errors were encountered: