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

failOnFailures = true Does not allow a grunt.watch to continue watching

Open seebees opened this issue 10 years ago • 2 comments

https://github.com/SaschaGalley/grunt-phpunit/blob/master/tasks/lib/phpunit.js#L36

I think that you want to return true? I know that this will tell the world that the task succeeded, but if you return false it will stop and my watch will not run tests anymore :(

Grunt 0.4.5

seebees avatar Sep 17 '14 16:09 seebees

:+1:

weotch avatar Jul 10 '15 17:07 weotch

To work around this, I switched to using grunt-shell with this simple config:

phpunit: {
  command: 'phpunit',
  options: { failOnError:false }
}

weotch avatar Jul 10 '15 17:07 weotch