Patch Changes
- Fixed a crash when calling
close()in plugin mode (isPlugin = true). Since the host (webpack-cli, webpack-dev-server, etc.) ownscompiler.watch(), the middleware has nowatchingof its own to close, soclose()now just calls the callback instead of throwing. (by @bjohansebas in #2347)