larsonjj / grunt-flow

Validates JavaScript with Facebook's Flow Library
20 stars 5 forks source link

Grunt does not exit non-zero on failures #4

Closed kumar303 closed 8 years ago

kumar303 commented 8 years ago

I get:

$ grunt flow
Running "flow:all" (flow) task
src/cli.js:4
  4: import yargs from 'yargs';
                       ^^^^^^^ yargs. Required module not found
(and other errors...)

Found 3 errors

Done, without errors.

I think it's because the task isn't checking the exit status of the spawned command.