grunt-execute icon indicating copy to clipboard operation
grunt-execute copied to clipboard

conosle.log question

Open nousacademy opened this issue 10 years ago • 2 comments

When I run my task to be executed is there a way to "console.log" whats in the actual file itself thats being executed??? In order to see the output on the CLI.

nousacademy avatar Nov 21 '14 13:11 nousacademy

You mean if console.log()'s in the code should show up in the console running grunt? This should already be happening.

How do you run your code? With src: ['somefile.js'] ? Do you run it plain or with options: { module: true }?

Bartvds avatar Nov 21 '14 15:11 Bartvds

I run it with "src: ['somefile.js']" and I put the command "grunt execute". I know it's executing but there's no output of whats within the file being executed.

nousacademy avatar Nov 21 '14 15:11 nousacademy