grunt
grunt copied to clipboard
grunt options/flags for tasks | debugging mit inspector
hello!
i am hardly looking to get the --v / verbose-flag to my tasks. i'd like to add special debug-flags to exec-commands i like to execute. does anybody know how to do it.
second question: i installed grunt globally. and i wanted to debug grunt, so i did sth like:
node --debug-brk /usr/local/bin/grunt
but since there is stuff like autodiscover its hard to get to debug to my own code. ideas?
thanks
Use grunt.log.verbose.writeln(). All of the log functions have a .verbose counterpart.
git clone -b devel git://github.com/cowboy/grunt.git && cd grunt then run sudo npm link to install it globally. As you modify that copy the global will also be modified.