marcellourbani / webpack-watch-changed

Simple webpack plugin to display what file changes triggered a rebuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack changed files plugin

Simple webpack plugin to display what file changes triggered a rebuild

Useful to troubleshoot rebuild loops which can occur when your webpack script changes watched files

Based on this article by David Gnanasekaran

Usage

install with npm or yarn, i.e.

npm i --save-dev webpack-watch-changed

in your webpack.config.js add the following:

const WatchRunPlugin = require("webpack-watch-changed")

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

License

MIT Standard disclaimer applies: no warranty,...

About

Simple webpack plugin to display what file changes triggered a rebuild

License:MIT License


Languages

Language:JavaScript 100.0%