Skip to content

MatteoBax/autorestart-nodemon-app-after-app-crash

Repository files navigation

autorestart nodemon app after app crash

This project is to restart nodemon automatically in case of a crash.

Requirements

•Node.js

•Nodemon (installable with:

npm i -g nodemon

)

Instructions for use:

Edit the config.json file as in the example:

{
    "file":"/sdcard/bot/main.js",
    "pathToWatch":"/sdcard/bot"
}

Copy the start.js and config.json files to your project folder and to start it use:

node start.js

About

This tool is to restart nodemon automatically in case of a crash.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published