Added console logging when a testing env get's discovered

ref #154
This commit is contained in:
Nicolai Ort 2021-03-06 13:51:24 +01:00
parent 92920273be
commit c01233b4d6
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ const app = createExpressServer({
async function main() {
await loaders(app);
if (config.testing) {
consola.info("🛠[config]: Discovered testing env. Mailing errors will get ignored!")
}
app.listen(config.internal_port, () => {
consola.success(
`⚡️[server]: Server is running at http://localhost:${config.internal_port}`