In my gruntFile.js, I have something like this:
coffee: {
compileScripts: {
expand: true,
flatten: true,
src: '**/*.coffee',
dest: '.tmp/scripts',
ext: '.js'
}
I want to see what path **/*.coffee expands to. Is there a way to print this to the console so I can play around with the asterisks until it's right?
According to the grunt.log documentation, there is a lot of information that becomes available in the terminal if grunt is invoked using the --verbose command line option:
grunt --verbose
In the actual gruntfile, if there's ever anything that you want to output to the console but only when this flag is used, use grunt.verbose instead of grunt.log.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With