Use NODE_ENV to test for test environment; improve scripts
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user