s00d / webpack-shell-plugin-next

Run shell commands either before or after webpack 4 and 5 builds
MIT License
92 stars 12 forks source link

onBuildExit no longer fires in --watch mode #15

Closed mpartel closed 4 years ago

mpartel commented 4 years ago

In an older project onBuildExit fires every time webpack --watch finishes a build. In a new project created today, it only fires after the first build.

Old project deps:

    "webpack": "^4.35.0",
    "webpack-cli": "^3.3.4",
    "webpack-shell-plugin-next": "^0.6.4"

New project deps::

    "webpack": "^4.42.1",
    "webpack-cli": "^3.3.11",
    "webpack-shell-plugin-next": "^1.1.7"
s00d commented 4 years ago

hello. Publish new version. Added onDoneWatch, try it.

mpartel commented 4 years ago

Works perfectly, thanks!