sole-live-reload-webpack-plugin

A Webpack plugin restricting the number of the live-reload scripts running on the same page to one

Usage no npm install needed!

<script type="module">
  import soleLiveReloadWebpackPlugin from 'https://cdn.skypack.dev/sole-live-reload-webpack-plugin';
</script>

README

sole-live-reload-webpack-plugin

A Webpack plugin restricting the number of the live-reload scripts running on the same page to one. You don't need it until after you added several bundles build with webpack-dev-server to one page.

yarn -D sole-live-reload-webpack-plugin
const SoleLiveReload = require('sole-live-reload-webpack-plugin')

module.exports = {
  plugins: [new SoleLiveReload()]
}