(node:41540) [DEP_WEBPACK_WATCH_WITHOUT_CALLBACK] DeprecationWarning: A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.
and the execution stops after first build. If we'll replace the multicompilation with single compilation:
The running of
gulp build
corresponding to below setupcauses the following warning:
and the execution stops after first build. If we'll replace the multicompilation with single compilation:
everything will work fine.
If it is the bug, would you please to fix it? I have pasted the reproduction.