Skip to content

gauthier-th/auto-restarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An auto restarter program for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published