flow-status-webpack-plugin
flow-status-webpack-plugin copied to clipboard
Errors are not reported since 0.1.6
Here is my configuration :
new FlowStatusPlugin({
binaryPath: require('flow-bin'),
quietSuccess: true
}),
With 0.1.5 errors were reported just as usual. Since 0.1.6, no errors are reported, making my build "valid" when it should not.
It seems that it doesn't work with local flow installation. With global works fine.
I have a similar problem. I can only see the errors if I set failOnError: true
but then, the whole webpack-dev-server stops serving even previous builds
I found the errors could be seen via including the new onSuccess and onError callbacks and sending the output to the console
new FlowStatusWebpackPlugin({
onError: function(stdout) {
console.log(stdout)
},
onSuccess: function(stdout){
console.log(stdout)
},
binaryPath: require('flow-bin')
})
I had to add failOnError: true
to the above example by @skrigs to keep the error output from being cleared. I didn't experience any problems with the dev server after adding it, as @fgarcia said (I'm using 0.1.7)