We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda8bec commit dd9dc66Copy full SHA for dd9dc66
generators/app/templates/src/index.ts
@@ -6,11 +6,7 @@ import config from './config';
6
import app from './app';
7
8
// start app
9
-app.listen(config.port, config.host, (err: MyError) => {
10
- if (err !== null && err !== undefined) {
11
- throw err;
12
- }
13
-
+app.listen(config.port, config.host, () => {
14
logger.info(`> App started at http://${config.host}:${config.port}`);
15
});
16
0 commit comments