Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-12 10:50:34 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-12 11:24:14 -0700
commitac8eb25ac0b1d518beebe810e6430e375032028c (patch)
treedfcb005463cf4144d6874b768a6f88086d5be2b6 /esbuild-server.mjs
parent16fc0bf7938071b400364d705f9ac859068be5f3 (diff)
Add some 'load scenario' todo tests
Diffstat (limited to 'esbuild-server.mjs')
-rw-r--r--esbuild-server.mjs6
1 files changed, 4 insertions, 2 deletions
diff --git a/esbuild-server.mjs b/esbuild-server.mjs
index bf73692..c269a52 100644
--- a/esbuild-server.mjs
+++ b/esbuild-server.mjs
@@ -259,7 +259,8 @@ if (process.env.NODE_ENV === 'test') {
res.end("Not found");
}
}).listen(3005, () => {
- console.log('test server is online');
+ const serverUrl = 'http://localhost:3005';
+ console.log(`Test server running at ${serverUrl}`);
});
} else {
buildOptions.define = { 'window.IS_DEV': 'true' };
@@ -321,7 +322,8 @@ if (process.env.NODE_ENV === 'test') {
req.pipe(proxyReq, { end: true });
}
}).listen(8080, (e) => {
- console.log('server is online', e);
+ const serverUrl = 'http://localhost:8080';
+ console.log(`Development server running at ${serverUrl}`);
});
}