/reload-html-webpack-plugin

Plugin to reload your browser when your html changes

Primary LanguageJavaScript

Reload HTML Webpack Plugin

This is a webpack plugin that works alongside html-webpack-plugin. Its purpose is to automatically refresh your browser whenever you make changes to templates consumed by html-webpack-plugin. It should only be used in development.

Usage

// in webpack.config.js

var ReloadPlugin = require('reload-html-webpack-plugin');

//

plugins: [
    new ReloadPlugin({ delay: 0 })
]

//