# reload-server-webpack-plugin

> Webpack plugin that automatically (re)starts your server between builds.

Latest version **1.0.1** (published 2015-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install reload-server-webpack-plugin
pnpm add reload-server-webpack-plugin
yarn add reload-server-webpack-plugin
bun add reload-server-webpack-plugin
```

## 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.1 |
| Published | 2015-12-30 |
| First published | 2015-12-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 38 |
| Author | Eric Clemmons |
| Maintainers | ericclemmons |
| Keywords | webpack, webpack-plugin, restart, server, start, cluster |

## Links

- npm: https://www.npmjs.com/package/reload-server-webpack-plugin
- Repository: https://github.com/ericclemmons/reload-server-webpack-plugin
- Homepage: https://github.com/ericclemmons/reload-server-webpack-plugin#readme
- Issues: https://github.com/ericclemmons/reload-server-webpack-plugin/issues
- npm.io page: https://npm.io/package/reload-server-webpack-plugin

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

- 1.0.1 (latest) — 2015-12-30
- 1.0.0 — 2015-12-30

## README

# reload-server-webpack-plugin

> Webpack plugin that automatically (re)starts your server between builds.

[![travis build](https://img.shields.io/travis/ericclemmons/reload-server-webpack-plugin.svg)](https://travis-ci.org/ericclemmons/reload-server-webpack-plugin)
[![Coverage Status](https://coveralls.io/repos/ericclemmons/reload-server-webpack-plugin/badge.svg?branch=master&service=github)](https://coveralls.io/github/ericclemmons/reload-server-webpack-plugin?branch=master)
[![version](https://img.shields.io/npm/v/reload-server-webpack-plugin.svg)](http://npm.im/reload-server-webpack-plugin)
[![downloads](https://img.shields.io/npm/dm/reload-server-webpack-plugin.svg)](http://npm-stat.com/charts.html?package=reload-server-webpack-plugin)
[![MIT License](https://img.shields.io/npm/l/reload-server-webpack-plugin.svg)](http://opensource.org/licenses/MIT)

- - -

### Why?

- Remove your dependency on `nodemon`, `forever`, `pm2`, or similar.
- This works better from a "cold start" when your server hasn't been built yet.
- Fewer issues with websockets & hot-module reloading.

### Installation

```shell
$ npm install --save-dev reload-server-webpack-plugin
```

### Usage

Update your `webpack.config.js`:

```js
module.exports = {
  ...
  plugins: [
    new ReloadServerPlugin({
      // Defaults to process.cwd() + "/server.js"
      script: "path/to/server.js",
    }),
  ],
  ...
};
```

### license

> MIT License 2015 © Eric Clemmons

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