Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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}`);
});
}