webpack-shell-plugin
webpack-shell-plugin copied to clipboard
onBuildExit fires before webpack is actually done
I have a script set to run when webpack is all done (onBuildExit) but it seems to fire before webpack is actually done (I have also tried onBuildEnd)
My script:
webpackConfig.plugins.push(new WebpackShellPlugin({
onBuildStart: ['./node_modules/.bin/bump prerelease'], // need to bump version first before files copied etc
onBuildExit: ['echo "test"']
}));
Results:
You can see in the screenshot below, the "test" message is definitely emitted before webpack is done

I have the same issue
same here :)
Same here. Any workaround?