# webpack-watch-time-plugin

> Webpack plugin that displays time when watcher rebuild happens

Latest version **0.3.0** (published 2018-08-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install webpack-watch-time-plugin
pnpm add webpack-watch-time-plugin
yarn add webpack-watch-time-plugin
bun add webpack-watch-time-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2018-08-03 |
| First published | 2016-12-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Semenov Evgeniy |
| Maintainers | tutu.semenov |
| Keywords | webpack, plugin |

## Links

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

## 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

- 0.3.0 (latest) — 2018-08-03
- 0.2.2 — 2018-08-02
- 0.2.1 — 2018-08-02
- 0.2.0 — 2018-07-30
- 0.1.3 — 2018-07-30
- 0.1.2 — 2016-12-13

## README

# webpack-watch-time-plugin
Webpack plugin to display time when watcher rebuild happens

## Installation
`npm i -D 'webpack-watch-time-plugin'`

_In webpack.config.js_
```javascript
const WatchTimePlugin = require('webpack-watch-time-plugin');
let config = {
	// <...>

	plugins: [
		new WatchTimePlugin(),
	]
};

module.exports = config;
```

## Configuration
This plugin accepts an object with additional options:
- `noChanges`: `boolean` | `Object` — If provided, the plugin will detect if no changes in source files were made
- `logLevel`: `'error' | 'warn' | 'info'` — Log level for plugin output

Property | Type | Required | Default | Description
--- | --- | --- | --- | ---
noChanges.detect | boolean | No | false | Wherever to detect changes
noChanges.report | boolean | No | false | If detecting, wherever to report when no changes were made (if `false`, plugin will provide no output at all in these cases)
noChanges.includeNodeModules | boolean | No | false | Wherever to detect changes in `node_modules` folders either
logLevel | string | No | `'error'` | Log level for plugin output. For debugging issues use `logLevel: 'warn'`

### Example
```javascript
new WatchTimePlugin({
  noChanges: {
    detect: true,
    report: true
  },
  logLevel: 'warn'
})
```

## Usage
`webpack -w`

![webpack -w output](./screenshot.png)

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