Removed nodemon

Fixed several dependency vulnerabilities
This commit is contained in:
Isaac Abadi
2022-06-23 19:49:48 -04:00
parent a0c36bf1a1
commit 0ffd7022d0
5 changed files with 61 additions and 757 deletions

View File

@@ -443,7 +443,7 @@ async function fetchFile(url, path, file_label) {
async function restartServer(is_update = false) {
logger.info(`${is_update ? 'Update complete! ' : ''}Restarting server...`);
// the following line restarts the server through nodemon
// the following line restarts the server through pm2
fs.writeFileSync(`restart${is_update ? '_update' : '_general'}.json`, 'internal use only');
process.exit(1);
}