I have installed node.js via nvm. when I run webstorm 8 from within terminal it can load the grunt tasks. However if I normally run WebStrom from the launcher it does not load tasks. I have tried to create symlink to the nvm directory in /usr/local/bin/node but even then the grunt window is unable to find grunt and complains about it. I get the following error message:
Cannot run program "grunt": error=2, No such file or directory
Looks like the grunt command isn't in your system path.
In order to view/run tasks, you need to install Grunt's command line interface globally:
npm install -g grunt-cli
For more information, please see http://gruntjs.com/getting-started
Is there a workaround for this. Or the only solution is that everytime I have to run the IDE from within a terminal.