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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.