# webpack-watch-changed

> Webpack plugin to display what file changes triggered a rebuild

Latest version **1.0.0** (published 2019-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-watch-changed
pnpm add webpack-watch-changed
yarn add webpack-watch-changed
bun add webpack-watch-changed
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-05-17 |
| First published | 2019-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Marcello Urbani |
| Maintainers | marcello.urbani |
| Keywords | webpack |

## Links

- npm: https://www.npmjs.com/package/webpack-watch-changed
- Repository: https://github.com/marcellourbani/webpack-watch-changed
- Homepage: https://github.com/marcellourbani/webpack-watch-changed#readme
- Issues: https://github.com/marcellourbani/webpack-watch-changed/issues
- npm.io page: https://npm.io/package/webpack-watch-changed

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-05-17

## README

# 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](https://davidsekar.com/angular/simple-webpack-plugin-to-identify-the-cause-of-repeated-rebuild-issue)

## Usage

install with npm or yarn, i.e.

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

in your webpack.config.js add the following:

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

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

## License

MIT
Standard disclaimer applies: no warranty,...

---
_Source: https://npm.io/package/webpack-watch-changed · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
