Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qualitybath/parcel-plugin-run-server
A Parcel plugin to start (and restart) a server while running parcel in watch mode
https://github.com/qualitybath/parcel-plugin-run-server
Last synced: 3 months ago
JSON representation
A Parcel plugin to start (and restart) a server while running parcel in watch mode
- Host: GitHub
- URL: https://github.com/qualitybath/parcel-plugin-run-server
- Owner: qualitybath
- Created: 2019-04-17T14:58:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T21:04:41.000Z (over 1 year ago)
- Last Synced: 2024-07-21T18:48:22.655Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 14
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-parcel - parcel-plugin-run-server
README
# parcel-plugin-run-server
A [Parcel](https://parceljs.org/) plugin to start (and restart) a server while running parcel in watch mode
## Why?
If using Parcel to build a node application (using `--target=node`) it's useful to have the server restart whenever there is a change made.
_This plugin will only run if parcel is ran in `watch` mode with a `target` of `node`_
## Getting Started
Via NPM
```
npm i -D parcel-plugin-run-server
```Via Yarn
```
yarn add --dev parcel-plugin-run-server
```## Configuration
Currently the plugin does not need any configuration. (Zero Config 🎉)
## Usage
The plugin will run the file specified using `--out-file` using `node --inspect`.