We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cf68d7 commit 8a26395Copy full SHA for 8a26395
server.js
@@ -17,7 +17,7 @@ if (!module.parent) {
17
portUsed.check(port).then(async status => {
18
if (status === false) {
19
// If in production, warm the server at the start
20
- if (process.env.NODE_ENV === 'production') await warmServer()
+ if (process.env.NODE_ENV === 'production') warmServer()
21
22
// workaround for https://github.com/expressjs/express/issues/1101
23
const server = require('http').createServer(app)
0 commit comments