1.0.2 • Published 3 months ago

auto-restarter v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
3 months ago

Auto Restarter

This is a tiny tool to restart automatically a Node.js program when the program ends.

Install

npm install -g auto-restarter

Usage

Syntax: auto-restarter <file> [msBeforeRestart]

Examples

  • This will keep started a file named test.js:
    auto-restarter test.js
  • This will keep started a file named test.js, waiting 2 seconds between each restart:
    auto-restarter test.js 2000

License

MIT License

Copyright (c) 2021 Gauthier THOMAS