Closed sfeldkamp closed 8 years ago
Having the same problem... doing this without the gulp-jest (just using gulp-cli) gives the same result. Guess the problem lies with the preprocessor...
Don't believe this is an issue with the preprocessor, but with Jest itself. See https://github.com/facebook/jest/issues/222
this plugin has been updated to use Jest 15.0.0 I cannot reproduce this issue anymore
gulp-jest is working well on it's own, but I want to add it as the first step in my build process that runs automatically from gulp.watch.
When I set it up as below, the watch task break because I'm emitting an 'end' event when a test fails. However, when the next file change is detected, the jest task doesn't receive the new file, it is still holding on to the old version. Is there a way to successfully set gulp-jest up to run under a gulp.watch task?
here is the relevant part of my gulpfile