aboutsummaryrefslogtreecommitdiff
path: root/src/server/ChildProcessUtilities/daemon
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-12-11 19:43:37 -0500
committerSam Wilkins <samwilkins333@gmail.com>2019-12-11 19:43:37 -0500
commite01499153fdd335493973dc79d80ccc4ae8df95c (patch)
tree5859fd2ca99db988c494bb03ae56fb74825b7ffd /src/server/ChildProcessUtilities/daemon
parent4e8605c9e46acd3f3d9080073bdd6e80f049c85a (diff)
first steps toward restructure of session daemon
Diffstat (limited to 'src/server/ChildProcessUtilities/daemon')
-rw-r--r--src/server/ChildProcessUtilities/daemon/session.ts (renamed from src/server/ChildProcessUtilities/daemon/persistence_daemon.ts)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ChildProcessUtilities/daemon/persistence_daemon.ts b/src/server/ChildProcessUtilities/daemon/session.ts
index 888cf38b8..c41657cc9 100644
--- a/src/server/ChildProcessUtilities/daemon/persistence_daemon.ts
+++ b/src/server/ChildProcessUtilities/daemon/session.ts
@@ -94,7 +94,7 @@ async function listen() {
const success = error === null && result !== undefined;
return identifier + success ? " Child process spawned..." : ` An error occurred while attempting to restart the server:\n${error}`;
},
- action: () => ProcessFactory.createWorker('npm', ['run', 'start-spawn'], "inherit"),
+ action: () => ProcessFactory.createWorker('npm', ['run', 'start'], "inherit"),
color: green
});
writeLocalPidLog("server", `${(current_backup?.pid ?? -2) + 1} created ${timestamp()}`);