# chromereload

> Webextension endpoint for livereload.

Latest version **0.0.2** (published 2016-09-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install chromereload
pnpm add chromereload
yarn add chromereload
bun add chromereload
```

## 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.0.2 |
| Published | 2016-09-20 |
| First published | 2016-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Henrik Wenz |
| Maintainers | handtrix |
| Keywords | chrome, extension, webextension, chromereload, livereload, generator-chrome-extension-kickstart |

## Links

- npm: https://www.npmjs.com/package/chromereload
- Repository: https://github.com/HaNdTriX/chromereload
- Homepage: https://github.com/HaNdTriX/chromereload#readme
- Issues: https://github.com/HaNdTriX/chromereload/issues
- npm.io page: https://npm.io/package/chromereload

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2016-09-20
- 0.0.1 — 2016-09-16

## README

# Chromereload

A small chrome extension endpoint for [livereload](https://www.npmjs.com/package/gulp-livereload) I build for my [chrome-extension-kickstarter](https://github.com/HaNdTriX/generator-chrome-extension-kickstart/tree/master/app/templates).

## Install

```bash
npm install --save-dev chromereload
```

## Features

* reconnect after livereload restart
* reduce amout of reloads
* supports reload of non chrome pages 

## Usage

Include the module in your chrome extension context (backgroundscript/contentscript/etc.).

```javascript
import ChromeReload from 'chromereload';

new ChromeReload({
  host: 'localhost'
  port: 35729,
  reconnectTime: 3000 /* ms */
});
```

For convenience you can also import the lib without configuring it:

```javascript
import 'chromereload/devonly';
```

this only works if `process.env.NODE_ENV` is set to `development`.

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