npm.io
1.0.0 • Published 7 years ago

webpack-watch-changed

Licence
MIT
Version
1.0.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
3

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,...

Keywords