Closed gkatsev closed 9 years ago
cool, this makes sense. i don't have time to implement it, but a PR is welcome!
I'll do that as soon as I find the time as well :)
would that include to temporarily replace a "globally installed module X" with a locally checked out repository of X? ... so that i can use X as a terminal command and its behavior changes live while i develop in the local repository of X :-)
currently i'm doing this:
someone suggested me another possible way:
$PATH="$PATH:.../node_modules/.bin/..."
or something like that
how would zelda do it?
@serapath npm link
already links bins to global, so, once you clone a repo and run npm link
inside of it, that cloned version should already be available globally under the bin name, so, I don't think steps 2 and 3 should be necessary.
wow, true, :+1: thats awesome :-) thx.
Closing out old issues. If you still want this feature, feel free to open a new issue or send a PR.
Makes sense. I'll get around to it eventually :)
I've found another usecase that might be useful. Giving zelda a specific module to link (or unlink) so it doesn't need to go and loop through everything.