webpack-shell-plugin
webpack-shell-plugin copied to clipboard
docs bug - does it work with webpack --watch
In the docs it says:
This plugin allows you to run any shell commands before or after webpack builds. This will work for both webpack and webpack-dev-server.
maybe it could specify it works with webpack --watch too?
Well, it doesn't actually seem to work more than once with --watch, so I'd consider ensuring it does before adding that information.
I can confirm that it does not work with --watch.This is a big limitation.
Old issue I know but may help new users, it seems you have to use onBuildExit see comment