gruntjs / grunt-cli

Grunt's command line interface.
http://gruntjs.com/
MIT License
706 stars 248 forks source link

Place grunt's bin in /node_modules/.bin instead? #73

Closed binarykitchen closed 9 years ago

binarykitchen commented 9 years ago

Would be good. Because I'm applying a common trick, putting node_modules/.bin into the global $PATH to avoid global installs. Many others do the same.

But since grunt places its bin in its own subfolder, the above trick isn't working anymore.

vladikoff commented 9 years ago

grunt is placed into .bin, see:

binarykitchen commented 9 years ago

you are right. weird. i had to do npm cache clear && rm -rf node_modules, then it worked.