Webpack 5 has changed the API for the plugin interface ( similar issue https://github.com/webpack/webpack/issues/11672).
Therefore when I try to use this plugin, I get this error
[webpack-cli] TypeError: compiler.plugin is not a function at LiveReloadPlugin.apply (node_modules\webpack-livereload-plugin\index.js:110:12)
Webpack 5 has changed the API for the plugin interface ( similar issue https://github.com/webpack/webpack/issues/11672). Therefore when I try to use this plugin, I get this error
[webpack-cli] TypeError: compiler.plugin is not a function at LiveReloadPlugin.apply (node_modules\webpack-livereload-plugin\index.js:110:12)