passfail

0.0.3 • Public • Published

passfail

Wraps nodemon and adds --pass and --fail which will be executed when the command that nodemon finishes running with a 0 or non-0 exit code.

Usage

passfail [--pass "passcomand"] [--fail "failcommand"] <nodemon options>

passfail pulls its options out of process.argv and removes them before forwarding the rest of the options to nodemon

Disclaimer

Written mostly a night while I couldn't sleep. Doesn't do any real error checking or anything.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i passfail

Weekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • wraithan