Use NODE_ENV to test for test environment; improve scripts

This commit is contained in:
2025-06-16 22:41:29 -07:00
parent 014ae76634
commit ae91897ead
5 changed files with 19 additions and 20 deletions

View File

@@ -2,7 +2,7 @@ console.log("\nSpawning server process...");
const { spawn } = require("child_process");
module.exports = async function () {
const child = spawn("node", ["dev-server.cjs", "--test"]);
const child = spawn("node", ["server.cjs"]);
child.stdout.on('data', (data) => {
console.log(`${data}`);