Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beerush-id/spawn
Multi Process Spawner
https://github.com/beerush-id/spawn
Last synced: about 1 month ago
JSON representation
Multi Process Spawner
- Host: GitHub
- URL: https://github.com/beerush-id/spawn
- Owner: beerush-id
- Created: 2023-08-12T11:32:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T08:11:07.000Z (9 months ago)
- Last Synced: 2024-10-31T18:17:36.293Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# `@beerush/spawn`
A simple script to run multiple commands in parallel. For example, you can run `npm run build` and `npm run watch` at
the
same time.## Installation
```bash
npm install -g @beerush/spawn
```**As Dev Dependency**
```bash
npm install -D @beerush/spawn
```## Usage
To use it, simply run `bee-spawn` followed by the commands you want to run in parallel, separated by `--`.
**Example**
```bash
bee-spawn tsc -w -- vite dev --port 3000
```**Usage with npm scripts**
```json
{
"scripts": {
"dev": "bee-spawn tsc -w -- vite dev --port 3000"
}
}
``````bash
npm run dev
```