webpack-shell-plugin icon indicating copy to clipboard operation
webpack-shell-plugin copied to clipboard

docs bug - does it work with webpack --watch

Open ORESoftware opened this issue 7 years ago • 3 comments

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?

ORESoftware avatar Feb 13 '18 22:02 ORESoftware

Well, it doesn't actually seem to work more than once with --watch, so I'd consider ensuring it does before adding that information.

ThePendulum avatar Apr 05 '18 01:04 ThePendulum

I can confirm that it does not work with --watch.This is a big limitation.

nickfloop avatar Oct 05 '18 03:10 nickfloop

Old issue I know but may help new users, it seems you have to use onBuildExit see comment

merlindiavova avatar Dec 15 '19 15:12 merlindiavova