Change process names again
This commit is contained in:
@@ -20,7 +20,8 @@ import {
|
||||
methodParser,
|
||||
} from "./types";
|
||||
|
||||
process.title = "express-diachron-app";
|
||||
|
||||
|
||||
|
||||
const app = express();
|
||||
|
||||
@@ -120,6 +121,8 @@ app.use(async (req: ExpressRequest, res: ExpressResponse) => {
|
||||
res.status(code).send(result);
|
||||
});
|
||||
|
||||
process.title = `diachron:${cli.listen.port}`;
|
||||
|
||||
app.listen(cli.listen.port, cli.listen.host, () => {
|
||||
console.log(`Listening on ${cli.listen.host}:${cli.listen.port}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user