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
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()]
}
MIT Standard disclaimer applies: no warranty,...