@beerush/spawn
v1.0.2
Published
Multiple Process Spawner
Downloads
4
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
npm install -g @beerush/spawn
As Dev Dependency
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
bee-spawn tsc -w -- vite dev --port 3000
Usage with npm scripts
{
"scripts": {
"dev": "bee-spawn tsc -w -- vite dev --port 3000"
}
}
npm run dev