0.0.7 • Published 2 years ago

run-singleton-cli v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

singleton-cli

Node CLI tool to run a process only once in a directory.

This CLI tool will check if the given process is already being run in the same directory. If it's not running, it will start the process as normal. If it's already running, it will not run it.

This is useful if you need to execute multiple parallel processes but only want a singleton execution of one of the subprocesses.

Usage

{
  "name": "where",
  "version": "0.0.2",
  "scripts": {
    "build:watch": "run-singleton \"tsc -w\""
  },
  "devDependencies": {
    "run-singleton-cli": "^0.0.2"
  }
}
0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago