looks like on an error the exit status is 0
p3x-robot opened this issue · comments
I have tested the simplest setup to recreate your issue
const CleanWebpackPlugin = require('clean-webpack-plugin');
module.exports = {
plugins: [new CleanWebpackPlugin(['should error'])],
}
Using both webpack's CLI and node API, the process is exited with exit code 1. It looks like whatever build system you are using is catching the error and not properly exiting. If you provide a minimal example repo I might be able to help further.
then it is on my error. thank you so much for your help! take care!