-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello!
According to the docs, the process should be killed on failOnError: true, and with wait: true the task should be failed, but I don't see this happening. (Nor do I actually saw any code related to this in run.js.)
// from a Gruntfile.js
run: {
t: {
options: { failOnError: true, wait: true },
args: ['t.js']
},
# t.js
console.log("this goes to stdout ");
console.error(" this goes to stderr ");
And there is output on stderr:
pas@strange:~/$ node t.js 1>/dev/null
this goes to stderr
Yet
pas@strange:~/$ grunt run:t
Running "run:t" (run) task
this goes to stdout
this goes to stderr
Done, without errors.
Luckily exit-code checking works wonderfully with wait.
Could you look into this?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels