1.4.0 • Published 3 years ago

smoke-run v1.4.0

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

Smoke-Run

Runs shell commands on file system watch events.

NPM package

$ npm install smoke-run -g
# re-run index.js on file change

$ smoke-run ./index.js -x "node ./src/index.js"

Overview

Smoke-Run is a development tool used to run and re-run shell commands on file system watch events. Useful for compile on save development workflows.

Usage

Smoke-Run accepts a glob as its first argument followed by a seperator -x then the shell command to run.

$ smoke-run <glob> -x <command>

Examples: smoke-run index.js    -x "node index.js"
          smoke-run **          -x "node index.js"
          smoke-run **.js       -x "node index.js"
          smoke-run {**,.}/*.js -x "node index.js"

Tasks

npm run clean       # cleans this project
npm run pack        # builds npm pack file.
npm run install_cli # packs and installs the cli locally.
1.2.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago